Skip to content

ci: det sweep proves the Db2 cases a PR moves (Part of #4901) - #4913

Merged
squid-protocol merged 3 commits into
mainfrom
ci/4901-db2-pr-sweep
Oct 11, 2026
Merged

squid-protocol merged 3 commits into
mainfrom
ci/4901-db2-pr-sweep

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

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.py now 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.yml gets a db2 job (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; then proof_sweep.py --det-only --db2-only --cases .... One runner per 6 cases, up to 4.
  • det merges the Db2 shards into its ratchet (same baseline, ledger check and missing-case rules). A skipped job counts as pass when nothing moved.
  • Full runs (shepherd:full, translator change with no usable port diff, workflow_dispatch) prove all Db2 cases on 4 runners. The nightly leaves Db2 to Evidence Refresh's Db2 job (runs right after, re-proves every Db2 case; a second pass here is pure cost).
  • pipeline: equivalence fault runs re-start Maven + Spring each time (~3.8 s each, >80% of a batch case) — use the existing _run_direct path #4910 (Maven-free fault runs) will speed the job up when it lands; not duplicated here.

This PR touches the workflow, so its own det run is a full sweep and exercises the db2 job; timings in a comment.

🤖 Generated with Claude Code

https://claude.ai/code/session_01AUWeQX7v4QBdErFbghEEEX

…(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
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol

Copy link
Copy Markdown
Owner Author

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.

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 11, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

1 similar comment
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 11, 2026 18:41
@squid-protocol
squid-protocol enabled auto-merge (squash) October 11, 2026 18:41
@squid-protocol
squid-protocol merged commit 7cd83b7 into main Oct 11, 2026
48 checks passed
@squid-protocol
squid-protocol deleted the ci/4901-db2-pr-sweep branch October 11, 2026 19:01
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant