Skip to content

ci: ground-truth warm job + 4 parts (cut ~11 to ~7.5 min) (Part of #5543) - #5559

Merged
squid-protocol merged 1 commit into
mainfrom
churn/5543-20261019T0221Z
Oct 19, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/5543-20261019T0221Z

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Oct 19, 2026 •

Copy link
Copy Markdown
Owner

Part of #5543 (Mainframe Ground Truth: stop paying the warm-up per part).

Change

Option (a), plus 4 parts in place of 2:

  • New ground-truth-warm job: fetch corpora, scan all 8 in parallel (xargs -P 8; dsf alone is about half of the serial scan), run the ledger gate once (summary + history), upload _scans as ground-truth-scans (tarred: upload-artifact skips hidden paths).
  • ground-truth-part 1/4..4/4: restore clones, unpack the scans (same engine key: this commit's HEAD), pytest --splits 4, same per-test time ratchet. No gate on the parts.
  • ground-truth still the one required check; it now also needs ground-truth-warm (a failed warm job fails it). publish-history needs the warm job (it uploads the history).
  • Tests updated: test_ci_critical_path_split (warm job, 4-way replay balance 677 s each), test_ground_truth_plan, test_sweep_plan; docs/ci.md.

Measurement

Before (main run 39171967813): parts 1/2 and 2/2 both ~11.0 min, about 22 runner-min plus aggregate. Local scan timings (6 cores, warm clones): dsf 63 s of 107 s total serial; pytest-split replay over .test_durations: 4 parts of 677 s recorded each (was 1354 s).
Estimate: warm ~0.5 setup + parallel scan ~2 + gate ~0.5 + upload, then part ~0.5 setup/download + ~3 pytest, about 7-7.5 min; runner-minutes about the same (warm ~4 + 4 x ~4 = ~20). After numbers: to fill in from this PR's first ready run (the PR is a draft, so CI has not run the heavy jobs yet).

Class

Per-part warm-up of a shared cache. Sibling gaps: none found in this workflow (the det-sweep and cics-crucible jobs have their own shard layouts, not changed here).

Owner decisions

Needs owner confirmation: the gate's pre-review check found this queue item has no allow_workflows flag, although the worker brief and #5543 both record the approval below. Owner: confirm the workflow edit or tell me to drop it.

Owner OK (2026-10-19): edit workflows for #5543 (allow_workflows).

🤖 Generated with Claude Code

…rt of #5543)

A ground-truth-warm job scans every pinned corpus in parallel, runs the ledger gate
(summary and history) once and uploads the scans; 4 parts unpack them and run their
pytest-split share. Same gate, tests and time ratchet; `ground-truth` stays the aggregate.

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 19, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 19, 2026 02:30
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 19, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol enabled auto-merge (squash) October 19, 2026 02:41
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit 85c257f into main Oct 19, 2026
55 checks passed
@squid-protocol
squid-protocol deleted the churn/5543-20261019T0221Z branch October 19, 2026 02:56
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