Repository navigation
test: accept unaffected patches retained automatically in the committed sync review - #45
Merged
Merged
Conversation
…ed sync review The committed-review coherence test in scripts/downstream-patches.test.mjs asserted that every reviewed patch is classified `overlap` (or `absorbed` and dropped) and that every resolution except an already dropped patch's is manual. That holds only while upstream touches every patch's files, as every stable since v2.2.2 has done through src/CodexAcpServer.ts. Upstream v2.12.1 only bumps @openai/codex to 0.172.0 (generated app-server types, package files) and a workflow pin, so every ledger patch is `unaffected` and the sync review resolves it with the automatic `retain`. verifySyncReviewArtifact already requires exactly that resolution for an unaffected patch, and the publication preflight accepts the review, but `npm test` on the sync integration failed this test. The test now also accepts an `unaffected` patch with the automatic `retain` resolution. Every other classification and resolution check is unchanged. No tooling, verifier or workflow code changes.
Owner
Author
|
Full release gates on the v2.12.1 integration simulated on a synthetic merge of this branch ( |
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.
Why
The v2.12.1 sync (#44) cannot pass
ci. Upstream v2.12.1 only bumps@openai/codexto 0.172.0 (generated app-server types, package files) and theaction-semantic-pull-requestpin, so for the first time every ledger patch is classifiedunaffected, and the sync review resolves each one with the automaticretain.verifySyncReviewArtifactalready requires exactly that resolution for an unaffected patch, and the publication preflight accepts the review. The committed-review coherence test inscripts/downstream-patches.test.mjs, however, still asserts that every reviewed patch isoverlap(orabsorbedand dropped) and that every resolution is manual except an already dropped patch's. Every stable since v2.2.2 touchedsrc/CodexAcpServer.ts, so that never came up. On the simulated v2.12.1 integration,npm testfails only this test, even when rerun alone with--testTimeout=300000.Change
unaffectedpatch resolved with the automaticretain.Verification
npx vitest run scriptson this branch: 15 files, 179 tests pass.alas(6d39bc776387ac2ea1c4f55296ba3bfd6f19c634):a963cdb) fail on the same review;drop, or classifiedoverlap.SYNC_REFSfixpoint give exact2062b87a1427cbd584511bca84c15a650a372e7d, integration6d39bc776387ac2ea1c4f55296ba3bfd6f19c634), with no conflicts and no manual-review reasons. Its.github,scriptsanddocs/ALAS_DOWNSTREAM.mdtrees equal the syntheticalas, and the publication preflight reconstructs both SHAs.alas-adaptations/v2.12.1=4232283) stays valid after the merge.b10e8e9, identical tree except this test file):npm ci,typecheck,test:integration(11 files / 28 tests),bundle:all,buildandnpm pack --dry-runpass;npm testpasses except this test (186 files pass, 3258 tests).After merging
Please merge with a merge commit (not squash). The maintenance agent then rebuilds the v2.12.1 sync on the new
alaswith the saved resolutions, updates #44 and lets the autopilot merge and publish2.12.1-alas.1as a level-2 sync.