Skip to content

CI: equivalence-e2e db2 job runs the five Db2 E2E files (Part of #5954) - #6549

Merged
squid-shepherd[bot] merged 2 commits into
mainfrom
churn/5954-slice3-db2
Oct 24, 2026
Merged

squid-shepherd[bot] merged 2 commits into
mainfrom
churn/5954-slice3-db2

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Summary

Part of #5954 (slice 3, after #6496). Adds a db2 job to equivalence-e2e.yml that runs the five Db2-needing files the shards --ignore (test_equivalence_db2_rows, test_regional_options, test_sql_dynamic, test_sql_unit_of_work, test_sql_whenever) under EQUIVALENCE_E2E=1.

  • One runner, pool of 3 databases, -n 3: Db2 starts once. The rows file alone took 34 min serial locally (50 proofs of ~45 s), so three xdist workers each take a database. The pinned Db2 image comes from the db2-image-<digest> cache entry det-sweep's main runs save (restore only; a miss pulls with ci_retry.sh); ODBC driver and GnuCOBOL image are cached as in det-sweep.
  • Same gate as the shards: needs: plan (the CI cost: one change classifier so each PR runs only the jobs and tests it can affect (docs, ground-truth, det/db2, suite, re-runs) #6278 classifier planner), mode run only, drafts skip (ci: draft PRs skip the heavy PR workflows (free-tier runner pool saturated by churn WIP pushes) #5104). A PR outside the COBOL/mainframe paths pays nothing extra. The aggregate equivalence-e2e check now requires db2 too (skipped when the plan is none).
  • Guard test: test_env_gated_tests_run_in_ci_5954.py tracks coverage per pytest run (a file one run --ignores and another names is covered); UNCOVERED_E2E is now empty. docs/ci_env_gated_tests.md updated.
  • Deselected (fail on a pristine engine, each listed in the doc): test_equivalence_db2_rows.py::test_the_inqacccu_det_port_holds_on_generated_db2_rows (generated-row comparison reports a diff) and test_sql_unit_of_work.py::test_uowdemo_det_port_proves_on_db2_against_the_hand_trace[N|A] (DetMq.java: package com.gitgalaxy.modernized.cics does not exist).

Evidence (real Db2 container, EQUIVALENCE_E2E=1 GITGALAXY_ORACLE_STRICT=1 GITGALAXY_DB2_POOL=1, serial): four files 128 passed, 2 failed (uowdemo); rows file 50 passed, 1 failed (inqacccu, 2033 s). pr_gates --fast 7/7. Not run: --ratchets (no engine or golden input touched); the -n 3 / pool-of-3 line itself (CI's first run is its test). Runner-minutes: not measured (draft skips the workflow); read the first non-draft run's step summary. Expect roughly Db2 start (~5 min for 3 databases) + ~12-20 min of tests.

Class / Sibling gaps

The class is "a test gated on an environment variable that no CI job sets". With this PR every EQUIVALENCE_E2E / CICS_CRUCIBLE_PATH gated file is reached by a workflow and UNCOVERED_* are empty. Siblings left: (1) the three Db2 deselects above plus slice 2's four (each needs engine work); (2) no push-to-main trigger (needs a post-merge.yml edit, one more file); (3) retiring tests that can no longer run (issue step 3): none identified; (4) no Db2 snapshot restore (det-sweep's #5882 speed-up), a follow-up once runtime is measured.

Owner decisions

Owner OK (2026-10-24, nyx-o26): slice 2: Docker/JDK sharded CI job over tests/cobol_mainframe with EQUIVALENCE_E2E=1. CONDITION: gate it through the #6278 change classifier so it runs only on PRs touching COBOL/mainframe/equivalence paths, plus main/nightly; report its runner-min per PR. Copy this Owner OK line under '## Owner decisions' in the PR body.

(Slice 3 extends that job under the same gate; no separate owner OK was given in the brief.)

Lessons for agents

  • tests/cobol_mainframe/test_equivalence_db2_rows.py takes ~34 min serial against local Db2: run it with bg-job.sh (a foreground heavy-run is killed at 10 min, the background cap is 20 min).

🤖 Generated with Claude Code

squid-protocol and others added 2 commits October 24, 2026 17:16
Slice 3: one runner, the pinned Db2 image from det-sweep's cache entry, a pool of one
database; same classifier gate as the shards. The guard test now tracks coverage per
pytest run, so UNCOVERED_E2E is empty.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…nqacccu rows test (Part of #5954)

The rows file is ~34 min serial locally; three workers on three databases fit the job.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 24, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review October 24, 2026 22:18
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 24, 2026 22:20
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd squid-shepherd Bot added the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Oct 24, 2026
@squid-shepherd
squid-shepherd Bot merged commit dbd3ddb into main Oct 24, 2026
62 of 66 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/5954-slice3-db2 branch October 24, 2026 23:03
squid-protocol added a commit that referenced this pull request Oct 25, 2026
…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]>
squid-shepherd Bot pushed a commit that referenced this pull request Oct 25, 2026
…#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]>
squid-shepherd Bot pushed a commit that referenced this pull request Oct 25, 2026
…(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]>
squid-shepherd Bot pushed a commit that referenced this pull request Oct 25, 2026
… 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]>
squid-shepherd Bot pushed a commit that referenced this pull request Oct 25, 2026
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant