Skip to content

Serialize PR body refreshes across checkouts - #1396

Closed
eowca wants to merge 15 commits into
lean178/1326-recover-review-summaryfrom
lean178/1371-serialize-pr-body
Closed

eowca wants to merge 15 commits into
lean178/1326-recover-review-summaryfrom
lean178/1371-serialize-pr-body

Conversation

@eowca

@eowca eowca commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Refs #1371

A check refresh rereads the live PR body under the repository-and-PR lock before patching. pr and review-summary updates, including verified recovery, hold the same lock for the read and PATCH. Check receipts keep their existing worktree lock.

The offline regression pauses check before PATCH while review from another checkout attempts to update the same PR. It fails before the fix and passes with both updates and unrelated prose intact. It also verifies that a different PR can proceed while the first PR is locked. The review-recovery test file passes.

This draft depends on #1390 for the shared lock and #1403 for review-summary recovery. The draft still uses the branch from superseded PR #1350 as its comparison base. It can target main for its own review once both prerequisites land.

eowca and others added 14 commits November 26, 2026 02:10
Co-authored-by: eowca <4008965+eowca@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>
Architecture-Review: unchanged; the skills reinforce existing review, receipt, and readiness behavior.

Co-authored-by: eowca <4008965+eowca@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
Co-authored-by: eowca <4008965+eowca@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>
Architecture-Review: unchanged; preserve both publication locking and the existing summary recovery contract.

Co-Authored-By: Codex <noreply@openai.com>
Architecture-Review: unchanged; make the existing locked round rejection specific to the race.

Co-Authored-By: Codex <noreply@openai.com>
Architecture-Review: unchanged; keep locked review admission scoped to the intended head.

Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
Architecture-Review: unchanged; both regressions and their existing lock scopes are preserved.

Co-Authored-By: Codex <noreply@openai.com>
Owner Decisions ruling on #575: #575 (comment)

Architecture-Review: unchanged; test line allowance re-baselined per OD ruling, authority/readiness/state unchanged

Co-authored-by: eowca <4008965+eowca@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>
Architecture-Review: unchanged; preserve the recovery PR behavior when the shared lock is used.

Co-Authored-By: Codex <noreply@openai.com>
Architecture-Review: unchanged; native review payloads, verdict evidence and diagnostics retain their existing validation.

Co-authored-by: eowca <4008965+eowca@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>
@eowca
eowca marked this pull request as draft November 26, 2026 02:27
Co-Authored-By: Codex <noreply@openai.com>
@eowca

eowca commented Nov 26, 2026

Copy link
Copy Markdown
Contributor Author

Lean178 r53: closed on cost (triage #575 (comment)). Unreviewed, +19 source and +105 tests, conflicting, and it holds a runners.py claim that blocks a source cut. #1371 stays OPEN: when source room exists, redo it as a smaller patch with fewer tests.

@eowca eowca closed this Nov 26, 2026
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