Skip to content

Add cached failure invalidation option#816

Open
patroza wants to merge 1 commit into
mainfrom
feature/cached-failure-invalidation
Open

Add cached failure invalidation option#816
patroza wants to merge 1 commit into
mainfrom
feature/cached-failure-invalidation

Conversation

@patroza

@patroza patroza commented Jul 3, 2026

Copy link
Copy Markdown
Member

Summary

  • add opt-in invalidateOnFailureFromLastSuccess for regular mutations
  • replay cached successful invalidation sources on later failed mutation calls with the same input
  • support the same option for stream mutations
  • add coverage for opt-in replay, opt-out behavior, and stream replay

Checks

  • pnpm --filter @effect-app/vue test -- dependencyInvalidation.test.ts --runInBand
  • pnpm lint-fix
  • pnpm check

@pkg-pr-new

pkg-pr-new Bot commented Jul 3, 2026

Copy link
Copy Markdown

Open in StackBlitz

@effect-app/cli

npm i https://pkg.pr.new/effect-app/libs/@effect-app/cli@816

effect-app

npm i https://pkg.pr.new/effect-app/libs/effect-app@816

@effect-app/eslint-codegen-model

npm i https://pkg.pr.new/effect-app/libs/@effect-app/eslint-codegen-model@816

@effect-app/eslint-shared-config

npm i https://pkg.pr.new/effect-app/libs/@effect-app/eslint-shared-config@816

@effect-app/infra

npm i https://pkg.pr.new/effect-app/libs/@effect-app/infra@816

@effect-app/vue

npm i https://pkg.pr.new/effect-app/libs/@effect-app/vue@816

@effect-app/vue-components

npm i https://pkg.pr.new/effect-app/libs/@effect-app/vue-components@816

commit: 384580c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant