Repository navigation
generated pushes: rebase and retry on a rejected push (Part of #6563) - #6565
Conversation
…6563) Evidence Pages failed on main with "rejected (fetch first)": another writer pushed to `generated` between the job's fetch and its bare `git push`. Add generated_branch.py push-head (rebase onto the new tip, retry, abort on a conflict) and use it in the two bare-push steps (evidence-pages.yml, evidence-refresh.yml publish-blockers). A lint forbids any new bare push. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
This PR conflicts with main, so no checks ran. Merge origin/main into it and regenerate generated files with their tools (never hand-merge them), then push. |
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (a08f163) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
|
No description provided. |
|
PR #6565 @ a08f163: 1 failed check(s) == full-suite part 3/3 (failure) -- real |
…s.txt stays fresh (Part of #6563) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (4188f4e) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
|
PR #6565 @ 4188f4e: 1 failed check(s) == db2 (failure) -- real |
…shards (Part of #6563) The db2 job (#6549) ran the rows cases with no .mainframe_corpora: every case failed 'not fetched at its pinned ref'. Add the env, cache restore, fetch and main-only save the shard job has. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (1ab2dfd) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
|
No description provided. |
|
No description provided. |
|
No description provided. |
…(Part of #5252) (#6574) * Blocker feed: survey cics-crucible so its leak scan runs; a feed failure fails the Evidence Refresh run (Part of #5054) (#6566) cics_census survey --baseline --crucible DIR surveys a cics-crucible checkout as one more burned corpus (the nightly refresh passes its clone), so blocker_estate_feed reads its rows and --require-sources finds its sources. The feed step keeps continue-on-error (records are not held back) but the job's last step now fails the run on it. Co-authored-by: Claude Sonnet 5.5 <[email protected]> * genapp lgdpvs01/lgucvs01: state LGSTSQ-path notes now X6 is modelled (Part of #5252) The notes and scenario whys no longer say the oracle refuses LGSTSQ's WRITEQ TD: it is past FROM (FROM's bytes then spaces, ASSUMED) and the task runs on through the EIBCALEN arms. Coverage ledger re-recorded. Co-Authored-By: Claude Opus 5.5 <[email protected]> * CI: post-merge Full Suite Gate dispatch on main drops ubuntu/3.12 (Part of #5953) (#6568) Smoke runs the same suite on ubuntu / 3.12 on every main push; Ground Truth covers test_evidence_components. Co-authored-by: Claude Sonnet 5.5 <[email protected]> * CI: narrow unicode-gauntlet, rosetta-audit, ports-compile, fact-crosscheck path filters by import reach (Part of #6278) (#6569) Scan-only gates skip a translator/controller-only PR; ports-compile and fact-crosscheck skip the standalone terabyte_log_scanning tool. A new test derives reach from the import closure of each gate's entry modules and pins both directions. Co-authored-by: Claude Sonnet 5.5 <[email protected]> * generated pushes: rebase and retry on a rejected push (Part of #6563) (#6565) * generated pushes: fetch, rebase and retry on a rejected push (Part of #6563) Evidence Pages failed on main with "rejected (fetch first)": another writer pushed to `generated` between the job's fetch and its bare `git push`. Add generated_branch.py push-head (rebase onto the new tip, retry, abort on a conflict) and use it in the two bare-push steps (evidence-pages.yml, evidence-refresh.yml publish-blockers). A lint forbids any new bare push. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * test_generated_branch: use non-.md fixture names so docs_read_by_tests.txt stays fresh (Part of #6563) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * equivalence-e2e db2 job: fetch the pinned mainframe corpora like the shards (Part of #6563) The db2 job (#6549) ran the rows cases with no .mainframe_corpora: every case failed 'not fetched at its pinned ref'. Add the env, cache restore, fetch and main-only save the shard job has. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
… both sides (Part of #5252) (#6573) * X6: a WRITEQ LENGTH past FROM is FROM's bytes then spaces, ASSUMED on both sides (Part of #5252) Regraft of #5898 onto current main. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Regenerate the det sweep coverage ledger and baseline after X6 (Part of #5252) genapp-lgsetup now reaches SEND TEXT with a typed-numeric WRITE-MSG-HIGH (a known #5252 cause): baselined. Coverage rises on lgdpvs01, lgapvs01, lgupvs01, lgucvs01, lgicvs01 and the LINKed GenApp programs. Co-Authored-By: Claude Opus 5.5 <[email protected]> * ruff format test_equivalence_cics.py (Part of #5252) Co-Authored-By: Claude Opus 5.5 <[email protected]> * A proof names X6 for every task that ran a padded WRITEQ (Part of #5252) X6 is ASSUMED (owner 2026-10-21): a WRITEQ TD / TS whose LENGTH runs past FROM now writes FROM's bytes then spaces, and the task runs on. The proof used to list X6 only for tasks judged up to the refused WRITEQ (judged_to), so a padded task (lgdpvs01 / lgapvs01 / lgupvs01's error paths) no longer stated it. The stub DISPLAYs "GG-X6 PADDED <verb>" on the padded path; outputs() moves those lines out of the task's sysout into x6_padded, the run report carries it, and evidence.proof_section records assumes = X6 for the task. The page states the padded assumption separately from the judged-up-to one. X6.md no longer says the assumptions list does not name it. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Regenerate the det sweep coverage ledger after the X6 padded marker (Part of #5252) det_coverage_ledger.py update from a full non-Db2 (95/98, the three baselined) and Db2 (35/35) det sweep: 130 entries move only their harness:cics fingerprint; no coverage number moves. Co-Authored-By: Claude Opus 5.5 <[email protected]> * genapp lgdpvs01/lgucvs01: state LGSTSQ-path notes now X6 is modelled (Part of #5252) (#6574) * Blocker feed: survey cics-crucible so its leak scan runs; a feed failure fails the Evidence Refresh run (Part of #5054) (#6566) cics_census survey --baseline --crucible DIR surveys a cics-crucible checkout as one more burned corpus (the nightly refresh passes its clone), so blocker_estate_feed reads its rows and --require-sources finds its sources. The feed step keeps continue-on-error (records are not held back) but the job's last step now fails the run on it. Co-authored-by: Claude Sonnet 5.5 <[email protected]> * genapp lgdpvs01/lgucvs01: state LGSTSQ-path notes now X6 is modelled (Part of #5252) The notes and scenario whys no longer say the oracle refuses LGSTSQ's WRITEQ TD: it is past FROM (FROM's bytes then spaces, ASSUMED) and the task runs on through the EIBCALEN arms. Coverage ledger re-recorded. Co-Authored-By: Claude Opus 5.5 <[email protected]> * CI: post-merge Full Suite Gate dispatch on main drops ubuntu/3.12 (Part of #5953) (#6568) Smoke runs the same suite on ubuntu / 3.12 on every main push; Ground Truth covers test_evidence_components. Co-authored-by: Claude Sonnet 5.5 <[email protected]> * CI: narrow unicode-gauntlet, rosetta-audit, ports-compile, fact-crosscheck path filters by import reach (Part of #6278) (#6569) Scan-only gates skip a translator/controller-only PR; ports-compile and fact-crosscheck skip the standalone terabyte_log_scanning tool. A new test derives reach from the import closure of each gate's entry modules and pins both directions. Co-authored-by: Claude Sonnet 5.5 <[email protected]> * generated pushes: rebase and retry on a rejected push (Part of #6563) (#6565) * generated pushes: fetch, rebase and retry on a rejected push (Part of #6563) Evidence Pages failed on main with "rejected (fetch first)": another writer pushed to `generated` between the job's fetch and its bare `git push`. Add generated_branch.py push-head (rebase onto the new tip, retry, abort on a conflict) and use it in the two bare-push steps (evidence-pages.yml, evidence-refresh.yml publish-blockers). A lint forbids any new bare push. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * test_generated_branch: use non-.md fixture names so docs_read_by_tests.txt stays fresh (Part of #6563) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * equivalence-e2e db2 job: fetch the pinned mainframe corpora like the shards (Part of #6563) The db2 job (#6549) ran the rows cases with no .mainframe_corpora: every case failed 'not fetched at its pinned ref'. Add the env, cache restore, fetch and main-only save the shard job has. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
…s (Part of #5252) (#6583) * X6: a WRITEQ LENGTH past FROM is FROM's bytes then spaces, ASSUMED on both sides (Part of #5252) Regraft of #5898 onto current main. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Regenerate the det sweep coverage ledger and baseline after X6 (Part of #5252) genapp-lgsetup now reaches SEND TEXT with a typed-numeric WRITE-MSG-HIGH (a known #5252 cause): baselined. Coverage rises on lgdpvs01, lgapvs01, lgupvs01, lgucvs01, lgicvs01 and the LINKed GenApp programs. Co-Authored-By: Claude Opus 5.5 <[email protected]> * ruff format test_equivalence_cics.py (Part of #5252) Co-Authored-By: Claude Opus 5.5 <[email protected]> * A proof names X6 for every task that ran a padded WRITEQ (Part of #5252) X6 is ASSUMED (owner 2026-10-21): a WRITEQ TD / TS whose LENGTH runs past FROM now writes FROM's bytes then spaces, and the task runs on. The proof used to list X6 only for tasks judged up to the refused WRITEQ (judged_to), so a padded task (lgdpvs01 / lgapvs01 / lgupvs01's error paths) no longer stated it. The stub DISPLAYs "GG-X6 PADDED <verb>" on the padded path; outputs() moves those lines out of the task's sysout into x6_padded, the run report carries it, and evidence.proof_section records assumes = X6 for the task. The page states the padded assumption separately from the judged-up-to one. X6.md no longer says the assumptions list does not name it. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Regenerate the det sweep coverage ledger after the X6 padded marker (Part of #5252) det_coverage_ledger.py update from a full non-Db2 (95/98, the three baselined) and Db2 (35/35) det sweep: 130 entries move only their harness:cics fingerprint; no coverage number moves. Co-Authored-By: Claude Opus 5.5 <[email protected]> * genapp lgdpvs01/lgucvs01: state LGSTSQ-path notes now X6 is modelled (Part of #5252) (#6574) * Blocker feed: survey cics-crucible so its leak scan runs; a feed failure fails the Evidence Refresh run (Part of #5054) (#6566) cics_census survey --baseline --crucible DIR surveys a cics-crucible checkout as one more burned corpus (the nightly refresh passes its clone), so blocker_estate_feed reads its rows and --require-sources finds its sources. The feed step keeps continue-on-error (records are not held back) but the job's last step now fails the run on it. Co-authored-by: Claude Sonnet 5.5 <[email protected]> * genapp lgdpvs01/lgucvs01: state LGSTSQ-path notes now X6 is modelled (Part of #5252) The notes and scenario whys no longer say the oracle refuses LGSTSQ's WRITEQ TD: it is past FROM (FROM's bytes then spaces, ASSUMED) and the task runs on through the EIBCALEN arms. Coverage ledger re-recorded. Co-Authored-By: Claude Opus 5.5 <[email protected]> * CI: post-merge Full Suite Gate dispatch on main drops ubuntu/3.12 (Part of #5953) (#6568) Smoke runs the same suite on ubuntu / 3.12 on every main push; Ground Truth covers test_evidence_components. Co-authored-by: Claude Sonnet 5.5 <[email protected]> * CI: narrow unicode-gauntlet, rosetta-audit, ports-compile, fact-crosscheck path filters by import reach (Part of #6278) (#6569) Scan-only gates skip a translator/controller-only PR; ports-compile and fact-crosscheck skip the standalone terabyte_log_scanning tool. A new test derives reach from the import closure of each gate's entry modules and pins both directions. Co-authored-by: Claude Sonnet 5.5 <[email protected]> * generated pushes: rebase and retry on a rejected push (Part of #6563) (#6565) * generated pushes: fetch, rebase and retry on a rejected push (Part of #6563) Evidence Pages failed on main with "rejected (fetch first)": another writer pushed to `generated` between the job's fetch and its bare `git push`. Add generated_branch.py push-head (rebase onto the new tip, retry, abort on a conflict) and use it in the two bare-push steps (evidence-pages.yml, evidence-refresh.yml publish-blockers). A lint forbids any new bare push. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * test_generated_branch: use non-.md fixture names so docs_read_by_tests.txt stays fresh (Part of #6563) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * equivalence-e2e db2 job: fetch the pinned mainframe corpora like the shards (Part of #6563) The db2 job (#6549) ran the rows cases with no .mainframe_corpora: every case failed 'not fetched at its pinned ref'. Add the env, cache restore, fetch and main-only save the shard job has. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]> * genapp-lgstsq / lgapvs01 committed ports: pad past FROM, and fix what the X6 refusal hid (Part of #5252) The committed LGSTSQ model port still threw PastFrom, so with X6 modelled only the Java side refused and LGAPVS01's committed-port proof failed (shard 3/4). It now pads as the stub does. Running on past the refusal surfaced three latent defects, hand-edited and recorded in provenance: - LGAPVS01: WS-ABSTIME is PIC S9(8) COMP, so FORMATTIME sees only its low 8 digits. - LGAPVS01: the second LINK passes CA-ERROR-MSG, 'COMMAREA=' FILLER included. - LGSTSQ: the WRITEQ TS item is the region page's bytes (IBM037), not the record charset. Both evidence records re-proven. Co-Authored-By: Claude Opus 5.5 <[email protected]> * genapp-lgupvs01 committed port: the same two WRITE-ERROR-MESSAGE defects X6 hid; re-prove the LGSTSQ linkers (Part of #5252) LGUPVS01's port kept the full ASKTIME (WS-ABSTIME is PIC S9(8) COMP: 8 digits) and handed LGSTSQ the LINK area from offset 9 instead of its first 90 bytes (COMMA-DATA). Both showed only once the stub stopped refusing a WRITEQ LENGTH past FROM. Re-proven: lgupvs01 10/10 (facade included), and lgapdb01 / lgupdb01, whose records fingerprint the LINKed ports. Co-Authored-By: Claude Opus 5.5 <[email protected]> * proof_reach: re-proved LGSTSQ/LGAPVS01/LGUPVS01 ports skip their stale mutation survivors, 114 -> 74 (Part of #5252) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
Part of #6563 (does not close it: the issue closes itself when Evidence Pages next succeeds on main).
Cause
The failed run (40142840881) died at
git push -q origin HEAD:generated:! [rejected] HEAD -> generated (fetch first). Anothergeneratedwriter pushed between this job's fetch and push. It was a race, not an infrastructure flake; a rerun would usually pass but the step has no retry.Fix (class: bare push to the shared
generatedbranch)tests/tools/generated_branch.py: newpush_head/push-headsubcommand. On a rejected push it fetches, rebases onto the new tip and retries (5 attempts); a rebase conflict is aborted and raised.evidence-pages.ymlandevidence-refresh.yml(publish-blockers) use it instead of the bare push. These were the only two bare pushes togenerated.test_generated_branch.py: clean push, push over a concurrent writer, conflict raises with no rebase left behind, and a lint that no workflow bare-pushes togenerated.Gates
pytest tests/tools/test_generated_branch.py(31 passed),audit_check.pyall clear (ruff, mypy, dead-key, ast-accuracy). No parsing logic touched: no golden bless.CI cost
Both workflows run on main push/dispatch only: 0% of PRs, no added runner time. Not verifiable on real CI until merged; trigger
workflow_dispatchon main afterwards.Lessons for agents
A job that checks out
generated, edits it and pushes must go throughgenerated_branch.py(publish or push-head); every writer shares the branch and any gap between fetch and push can be raced.🤖 Generated with Claude Code