fix(opencode): preserve exact-head dispatch queue position - #2546
seonghobae wants to merge 4 commits into
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
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. Comment |
|
Exact-head admission correction: |
|
비파괴 current-owner 재적층 완료 (2026-10-01).
이전 head의 Check·review는 승인으로 이월하지 않습니다. 새 exact head의 hosted Checks와 독립 APPROVED가 필요하므로 Draft / Proposed를 유지합니다. |
|
Base-move conflict repaired non-destructively at exact head The PR is mechanically mergeable, ahead 3 / behind 0, and retains exactly the intended 12-path delta (+1,771/-145). Exact-head Security |
|
Successor-equivalence audit at exact head
Required next lane: RED receiver-receipt race contract → minimal receiver recheck/fail-closed implementation → scheduler terminal-cancellation contracts → exact-head GREEN evidence. #2283/#2289 must remain open until verified equivalence or ordinary merges preserve every valid delta. |
2026-10-01 receiver receipt recheck — exact current headThe branch advanced by one ordinary fast-forward child with
RED → GREEN repairRED proved that exact-PR lease ownership alone did not prevent a completed prior receiver from repeating coverage/model work. The receiver now, after lease acquisition or self-rerun lease retention:
Executable cases cover receipt present/missing, completed-owner recovery, same-run retention, CAS concurrency, and concurrent lease-branch initialization. Exact-tree verification
Protected statusThis remains Draft / Proposed / HOLD. Fresh hosted exact-head Checks have not yet reached terminal acceptance, there is no qualifying independent GitHub approval, and the separately identified scheduler retirement equivalence gap from #2289 remains unresolved. This comment does not transport prior-head evidence and does not authorize merge, auto-merge, bypass, closure, or release. |
Goal
Repair the OpenCode control-plane race that allowed a newer dispatch to replace pending same-head work or let stale-head work retain queue position. This successor preserves every valid delta from the RED→GREEN stack. This leaf is Draft / Proposed. Its prerequisites remain separately open and are not acceptance evidence.
Exact stacked topology
fix/full-suite-parser-locks-202609303a332c51e3dba679d97df445944b6e92e8d97e808b4fdca9f6726ed6c6f3d39a26f1d5654393fba5f20227f466b5f4ad52915a1ee4f2a0153d30789667c68928eab022b146cdd9d9405628aad0d83335and current owner3a332c51e3dba679d97df445944b6e92e8d97e80Publication provenance
The local test-first stack remains intact and was not rebased, force-pushed, or deleted. Non-interactive HTTPS push lacked a local credential, so the authorized GitHub connection published one ordinary child of the exact base using the verified final tree. The published tree
f7ebe108a40132339e66b6ca053f01499b58f242is byte-for-byte identical to the locally verified tree and includes all 12 valid paths, including the RED evidence fragment inCHANGELOG.d/. Only commit metadata differs; no valid diff, requirement, fixture, or evidence was discarded.Incident and RCA
The repair follows the same-head admission failures evidenced by #2545 exact head
9a4af5e438283a31dc05814d6bc2818caee782a3and Actions runs 36776536447 and 36778773766.Root causes:
pull_request_target, the run-level SHA is the trusted base."2,500+"sentinel, requiring bounded recursive date partitioning and reconciliation.RED → GREEN contracts
contents: writeadmission job acquires a per-PR CAS lease after live open/non-draft base/head validation and revalidates before mutation;pull_requests[].numberpluspull_requests[].head.sha, and reruns every failed exact-head run after live revalidation;"2,500+"; an unsplittable one-second overflow or pagination mismatch fails closed;10707b070475c5e0889501ae4178b7868c6a7cc9.Verification
git diff --check: GREENRemaining protected gates
Hosted exact-head security/quality Checks, zero unresolved review threads, and qualifying independent approval remain mandatory. This PR must not be merged before #2530 and this exact head satisfy those gates. The current exact head has failed CodeQL/OpenCode contexts, pending agent reviews, and no qualifying approval; Draft / Proposed remains required. No auto-merge or bypass is enabled.
2026-10-01 current owner reconciliation (authoritative)
Exact head
8b4fdca9f6726ed6c6f3d39a26f1d5654393fba5is an ordinary two-parent merge of prior leaf67c68928eab022b146cdd9d9405628aad0d83335and canonical owner #2530 at3a332c51e3dba679d97df445944b6e92e8d97e80. Its tree isf20227f466b5f4ad52915a1ee4f2a0153d307896; the ref update usedforce=false.The current-base effective delta is 12 expected workflow, test, doctoring, CHANGELOG, and Gap-evidence paths (1,771 insertions / 145 deletions).
git diff --check 3a332c51... 8b4fdca9...is GREEN. No prior-head Check or review is transported as approval; fresh exact-head hosted Checks and a qualifying independent approval remain required. Status remains Draft / Proposed.2026-10-01 latest base-move reconciliation (authoritative)
bd05e83c7e4b425a499c488c2b98f1d791d150ce; exact tree:475f57fead2f8b8124c8721b9b13009c6f2670d6.8b4fdca9f6726ed6c6f3d39a26f1d5654393fba5and current canonical owner fix(ci): integrate parser, security, response, and coverage gates #2530813f16fad7528b035d6ae4386cd176c9a67413c1; the branch ref advanced withforce=false.