Skip to content

fix: retain Code Review ownership until process exit is confirmed - #426

Merged
BunsDev merged 3 commits into
mainfrom
cr6-review-repair
Oct 28, 2026
Merged

BunsDev merged 3 commits into
mainfrom
cr6-review-repair

Conversation

@BunsDev

@BunsDev BunsDev commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

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 main b64361750983068160fe95293192ccea03000f88: 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 4c5eaee records 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 on 4c5eaee2472e1192c8030ead32b920ab276ad12f subsequently 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.

@vercel

vercel Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
modex Ready Ready Preview Oct 28, 2026 12:10pm UTC

Request Review

@BunsDev
BunsDev marked this pull request as ready for review October 28, 2026 12:11
@github-code-quality

Copy link
Copy Markdown

Code coverage overview

Languages: TypeScript

TypeScript / code-coverage-agent

main b643617 cr6-review-repair bdee0d8 +/-
66% 66% 0%

ℹ️ Calculations represent line coverage. Results may change as calculations are updated.

@BunsDev
BunsDev added this pull request to the merge queue Oct 28, 2026
Merged via the queue into main with commit d0482a0 Oct 28, 2026
13 checks passed
@BunsDev
BunsDev deleted the cr6-review-repair branch October 28, 2026 17:57

This branch was successfully deployed

1 active deployment
Preview — bdee0d8f Deployed Oct 28, 2026 by vercel[bot]
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