Repository navigation
2.x.x: release completed PRISM work and avoid consumer traceback cycles - #250
Merged
Merged
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This was referenced Sep 8, 2026
This was referenced Sep 8, 2026
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.
Completed PRISM jobs can keep entire payout windows alive through retained future callbacks, idle executor locals, and completion handlers that re-raise stored exceptions. This remains possible after the stall-probe frame cleanup in #248 and adds memory pressure and cyclic-GC work during the ongoing union-mainnet lease-monitor incident.
Release captured requests when job-build and initial-delivery callbacks run, using a shared callback wrapper that preserves pending ownership, invocation ordering, and existing completion behavior. Clear each bounded executor worker's previous task, arguments, future, and result before it waits for more work, including after failure or cancellation. Inspect completed future exceptions directly in job-build outcome mapping, initial-delivery failure reporting, and stale reorg-prefetch disposal, preserving original tracebacks without adding consumer frames that own the request/future.
Refs #236 and #247. The expanded audit also confirmed original producer/waiter traceback retention during superseded builds; #249 tracks that remaining path with a runnable reproducer. #251 records three further reproduced exception cycles in public-response caching and address validation. This PR does not close the production incident.
Validation
Read-only production evidence from September 8 at 16:28 UTC confirms #248 is deployed, with zero coordinator restarts since 15:22 UTC, but 25 wakes at least 400 ms late and nine breaches of the 550 ms exit-timing bound. The 16:25/16:26 alerts align with a 464 ms wake at 16:24:48; the alert value is an extrapolated event count. Maximum observed generation-2 GC pause was 741 ms, but exact per-event GC attribution remains unproven. Deployment and a production soak are still required.