Skip to content

[test] Cover cache sharing after handler failures - #100519

Merged
unstubbable merged 1 commit into
canaryfrom
hl/use-cache-handler-failure-tests
Oct 23, 2026
Merged

unstubbable merged 1 commit into
canaryfrom
hl/use-cache-handler-failure-tests

Conversation

@unstubbable

@unstubbable unstubbable commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

The existing handler-error tests cover error reporting and rendering after a failed write. The new tests also cover intra-request lookup retries and a joiner that needs a different root key after the producer's write fails.

A held write verifies that the retried calls can consume the same generated value before persistence finishes. The root-param case verifies that the joiner persists and reuses its own value. Both cases pass before the wrapper rewrite in #100511.

@unstubbable
unstubbable added this pull request to stack #100520 October 21, 2026 15:06
@github-actions

github-actions Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Tests Passed

Commit: 30f615d

@github-actions github-actions Bot added created-by: Next.js team PRs by the Next.js team. tests labels Oct 21, 2026
Base automatically changed from hl/fix-use-cache-swr-response-read to canary October 21, 2026 16:59
@unstubbable
unstubbable force-pushed the hl/use-cache-handler-failure-tests branch 2 times, most recently from 3ab8e8f to 5f805e3 Compare October 22, 2026 09:53
The existing handler-error tests cover error reporting and rendering after
a failed write. The new tests also cover intra-request lookup retries
and a joiner that needs a different root key after the producer's write
fails.

A held write verifies that the retried calls can consume the same generated
value before persistence finishes. The root-param case verifies that the
joiner persists and reuses its own value. Both cases pass before the
wrapper rewrite in #100511.
@unstubbable
unstubbable force-pushed the hl/use-cache-handler-failure-tests branch from 5f805e3 to 30f615d Compare October 22, 2026 10:41
@unstubbable
unstubbable marked this pull request as ready for review October 22, 2026 15:06
@unstubbable
unstubbable merged commit 42ea2b3 into canary Oct 23, 2026
120 checks passed
@unstubbable
unstubbable deleted the hl/use-cache-handler-failure-tests branch October 23, 2026 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

created-by: Next.js team PRs by the Next.js team. tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants