Repository navigation
ci: det sweep proves the Db2 cases a PR moves (Part of #4901) - #4913
Conversation
…(Part of #4901) det_sweep_plan.py splits db2_cases off; det-sweep.yml gets a db2 job (Db2 started in the background first, proof_sweep --db2-only --cases) whose results join det's ratchet. Skipped when no Db2 case moves; the nightly leaves Db2 to Evidence Refresh. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01AUWeQX7v4QBdErFbghEEEX
…t 15 min (Part of #4901) First CI run: a case that picked a database the background start was still creating got no connection (cbsa-updacc-generated: no table IBMUSER.ACCOUNT). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01AUWeQX7v4QBdErFbghEEEX
…4901) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01AUWeQX7v4QBdErFbghEEEX
|
Measured on this PR's own det runs (full sweep, since the workflow changed; run 38162714020 green, det success): Db2 image pull + oracle image + pip ready ~60 s; Db2 container up ~95-100 s after start (background, overlaps setup), each pool database +32 s serial (4 DBs ready at ~195 s); proof step 417-513 s for 9-10 Db2 cases per shard at --jobs 4; whole shard 8.6-11.7 min incl. queueing variance. First run found a real race (a case picked a database the background start was still creating: 'no table IBMUSER.ACCOUNT'), fixed by waiting for the background start before proving (costless: the harness's lazy creation was serial too). Estimated narrow latency, one Db2 case moved: ~100 s (container) + 32 s (one DB) + one proof (~45-60 s) = ~3.5-4 min, in parallel with the shards; no Db2 case moved: job skipped, 0 added. |
|
No description provided. |
1 similar comment
|
No description provided. |
Part of #4901 (the CI half; the cbsa-bnk1cac proof itself already passes).
The PR det sweep ran
--skip-db2, so a PR moving a Db2 case's port was never proven on that case before merge.det_sweep_plan.pynow splits the affected Db2 cases (db2_cases,db2_matrix,db2_shards) off the non-Db2 ones; narrow plans and port-diff plans both do it, dependents included. Nothing Db2 moved (or mode none):db2_shards=0, the job is skipped.det-sweep.ymlgets adb2job (needs: plan only, parallel with the shards): Db2 image pull and Db2 start + database creation run in the background right after the oracle image, so they overlap JDK/Maven/corpora setup; thenproof_sweep.py --det-only --db2-only --cases .... One runner per 6 cases, up to 4.detmerges the Db2 shards into its ratchet (same baseline, ledger check and missing-case rules). A skipped job counts as pass when nothing moved.This PR touches the workflow, so its own
detrun is a full sweep and exercises the db2 job; timings in a comment.🤖 Generated with Claude Code
https://claude.ai/code/session_01AUWeQX7v4QBdErFbghEEEX