Repository navigation
fix: a failing blockConcurrencyWhile breaks the event like workerd (#267) - #271
Merged
Merged
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 37 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
ryuzdev
added a commit
that referenced
this pull request
Nov 24, 2026
…; replay broken stubs without remote (#271) - P1: op_actor_fail rolls back the cell's open savepoint host-side before terminating. - P2: local + peer RPC encode handler failures as marked bytes; harness rebuilds class/shape, sets brokenFailure on abort. - P3: broken stubs replay via __cellHandlerReplay (no remote marker). - Tests: limit-over-open-tx conformance; gate Rpc class + block-fail-rpc + broken string repeats (wrangler/cases entries still to add). - NOT YET VERIFIED: gate agree/fail-before, full gate, suite, clippy, fmt, docs, rebase, push.
ryuzdev
added a commit
that referenced
this pull request
Nov 24, 2026
- wrangler RPCDO binding plus the v3 Rpc migration. - Probe /block-fail-open-tx + /block-tx-state and the default-export orchestration route. - cases.mjs entries for do/block-fail-rpc and do/block-fail-open-tx; TypeError repeat pair in do/block-fail-nested. - New cases agree on the PR binary; rpc/open-tx diverge on feed759, open-tx diverges on origin/main.
ryuzdev
force-pushed
the
fix/nested-block-throw
branch
from
November 24, 2026 18:25
feed759 to
8af79a0
Compare
ryuzdev
added a commit
that referenced
this pull request
Nov 24, 2026
- blockConcurrencyWhile bullet now true for fetch and RPC: class-preserving rejections, remote marker rules, broken-stub replay, open-tx rollback. - Limits row: a block failure over an open transaction resets and rolls back. - Changelog #267 entry gains the P1-P3 paragraphs and the two new gate cases.
ryuzdev
added a commit
that referenced
this pull request
Nov 24, 2026
- Whitespace-only: rustfmt layout for the RPC failure match and the open-tx assertion.
- A throw or reject in a top-level or nested block, the 64-level limit and the 30 s limit terminate the executing cell: a catch around the block never runs, the stub caller receives the value the block threw, and the object resets. - A stub that observed an aborted object stays broken while a fresh stub works; the event answer waits for the sections it opened. - The deferred nested start gives its reserved depth back when cancelled; pinned by a CELLO_TEST_FAIL_BLOCK_TURN seam. - Gate cases do/block-fail-top, do/block-fail-nested and do/block-fail-limit fail before and agree after; the block-limit test asserts the 500 and the reset.
…; replay broken stubs without remote (#271) - P1: op_actor_fail rolls back the cell's open savepoint host-side before terminating. - P2: local + peer RPC encode handler failures as marked bytes; harness rebuilds class/shape, sets brokenFailure on abort. - P3: broken stubs replay via __cellHandlerReplay (no remote marker). - Tests: limit-over-open-tx conformance; gate Rpc class + block-fail-rpc + broken string repeats (wrangler/cases entries still to add). - NOT YET VERIFIED: gate agree/fail-before, full gate, suite, clippy, fmt, docs, rebase, push.
- wrangler RPCDO binding plus the v3 Rpc migration. - Probe /block-fail-open-tx + /block-tx-state and the default-export orchestration route. - cases.mjs entries for do/block-fail-rpc and do/block-fail-open-tx; TypeError repeat pair in do/block-fail-nested. - New cases agree on the PR binary; rpc/open-tx diverge on feed759, open-tx diverges on origin/main.
- blockConcurrencyWhile bullet now true for fetch and RPC: class-preserving rejections, remote marker rules, broken-stub replay, open-tx rollback. - Limits row: a block failure over an open transaction resets and rolls back. - Changelog #267 entry gains the P1-P3 paragraphs and the two new gate cases.
- Whitespace-only: rustfmt layout for the RPC failure match and the open-tx assertion.
ryuzdev
force-pushed
the
fix/nested-block-throw
branch
from
November 24, 2026 18:44
8af79a0 to
c9d3d4a
Compare
ryuzdev
added a commit
that referenced
this pull request
Nov 24, 2026
…; replay broken stubs without remote (#271) - P1: op_actor_fail rolls back the cell's open savepoint host-side before terminating. - P2: local + peer RPC encode handler failures as marked bytes; harness rebuilds class/shape, sets brokenFailure on abort. - P3: broken stubs replay via __cellHandlerReplay (no remote marker). - Tests: limit-over-open-tx conformance; gate Rpc class + block-fail-rpc + broken string repeats (wrangler/cases entries still to add). - NOT YET VERIFIED: gate agree/fail-before, full gate, suite, clippy, fmt, docs, rebase, push.
ryuzdev
added a commit
that referenced
this pull request
Nov 24, 2026
- wrangler RPCDO binding plus the v3 Rpc migration. - Probe /block-fail-open-tx + /block-tx-state and the default-export orchestration route. - cases.mjs entries for do/block-fail-rpc and do/block-fail-open-tx; TypeError repeat pair in do/block-fail-nested. - New cases agree on the PR binary; rpc/open-tx diverge on feed759, open-tx diverges on origin/main.
ryuzdev
added a commit
that referenced
this pull request
Nov 24, 2026
- blockConcurrencyWhile bullet now true for fetch and RPC: class-preserving rejections, remote marker rules, broken-stub replay, open-tx rollback. - Limits row: a block failure over an open transaction resets and rolls back. - Changelog #267 entry gains the P1-P3 paragraphs and the two new gate cases.
ryuzdev
added a commit
that referenced
this pull request
Nov 24, 2026
- Rebase onto #271 left a stray indent and blank line in the list.
ryuzdev
added a commit
that referenced
this pull request
Nov 24, 2026
- Rebase onto #271 left a stray indent and blank line in the list.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A throw or reject in a top-level or nested block, the 64-level limit and the 30 s limit break the event the way workerd breaks it: the executing cell is terminated, so a catch around the block never runs, the stub caller receives the value the block threw, and the object resets. A stub that observed an aborted object stays broken while a fresh stub works. The deferred nested start gives its reserved depth back when cancelled.
Gate cases do/block-fail-top, do/block-fail-nested and do/block-fail-limit fail before and agree after; the block-limit conformance test asserts the 500 and the reset. Full gate (245 cases), cargo test, clippy, fmt and check-docs all green.
Closes #267