Repository navigation
fix: retain Code Review ownership until process exit is confirmed - #426
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
BunsDev
marked this pull request as ready for review
October 28, 2026 12:11
This was referenced Oct 31, 2026
This branch was successfully deployed
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 Code Review backend stop with unconfirmed process exit was shown as stopped and released its concurrency slot and snapshot. This follow-up to merged #422 preserves the stop receipt, reports an unknown outcome, retains ownership and snapshot data, blocks replacement runs, and refuses disposal until exit is confirmed. Recovery also retains ownership when a crash or failed receipt write leaves an unresolved running record. Only an observed ESRCH releases a recorded PID hold; missing or reused PIDs remain conservative holds, without signalling recovered processes.
The review and question forms now disclose that Claude Code sends context to its configured inference provider. The crash fixture checks the retained unknown state and waits for synthetic process-start and PID logs before relaunch; cleanup targets only its fixture processes.
Validation at signed commit
ba23f5c195e41ab91b345e43df775af9de82ae9c, based on mainb64361750983068160fe95293192ccea03000f88: build, full unit tests (2,196 passed, 23 skipped, zero failed) and typecheck passed. Independent source and fixture review found no remaining blocking findings. That full E2E run finished with 469 passed, seven skipped and one failed: the IPC test lost its page during an inbox request after connection succeeded. The site stage did not run. The repaired crash case and unchanged Canvas case passed. The failure evidence is preserved.Earlier failures remain recorded in the review document: the first full E2E attempt exposed obsolete crash expectations; the next finished with 468 passed, seven skipped and two failures, a synthetic start-log race and a separate Canvas full-view failure. The start-log race is repaired. Three focused repetitions of each case passed, but Canvas was unchanged and its prior failure is not claimed fixed. Live provider and human acceptance remain open. Refs #325, #327; this PR does not close those gates.
Diagnostic follow-up
4c5eaeerecords bounded process/page lifecycle events and stderr before cleanup in the IPC fixture. Independent review found no blocking issue; three isolated repetitions passed. The closure remains unexplained, and those repetitions do not clear the failed full run. Prior traces and logs are preserved; no assertion or timeout was relaxed. Fresh full root E2E on4c5eaee2472e1192c8030ead32b920ab276ad12fsubsequently exited zero: 470 desktop passed, seven skipped (23.6 minutes), then seven site passed (12.8 seconds). Crash, Canvas and IPC passed; the earlier Canvas and IPC causes remain unexplained. The subsequent documentation-only commit records these results without changing apps, packages or scripts. Hosted checks and protected delivery remain pending.