Skip to content

CI critical path: advisory deltas job, refreshed durations, ground-truth in 2 parts (Part of #5133) - #5151

Merged
squid-protocol merged 4 commits into
mainfrom
ci/5133-critical-path
Oct 14, 2026
Merged

squid-protocol merged 4 commits into
mainfrom
ci/5133-critical-path

Conversation

@squid-protocol

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

Copy link
Copy Markdown
Owner

Part of #5133 (CI critical path).

Changes

  • smoke-test.yml: the advisory evidence_report --deltas --live step leaves full-suite-part (it sat on part 3) for its own evidence-deltas job: continue-on-error, not in full-suite's needs, same draft / tested-tree conditions.
  • .test_durations: refreshed from the 2026-10-12 nightly's three part artifacts via merge_test_durations.py (17,464 tests; the committed one had 16,617 with ~0 s for most).
  • mainframe-ground-truth.yml: split into ground-truth-part 1/2 + a ground-truth aggregate (the required-check name is kept; publish-history still needs it). Part 2 = test_evidence_components.py + test_det_nondigit_zoned.py (corpus-free); part 1 = ledger gate + the rest. Chosen from a --durations=0 run (3,476 test-seconds; nondigit_zoned 1,480, components 257).
  • Tests: tests/tools/test_ci_critical_path_split.py (new), test_ci_rerun_stats.py follows the job rename. docs/ci.md note.

Numbers (job wall time, min)

Before = last 12 PR/push runs (successful, not skipped):

job before (mean, range) after (dispatch run on this branch)
full-suite part 1/3 14.3 (10.0-17.9) 17.8
full-suite part 2/3 7.8 (5.5-9.4) 8.9
full-suite part 3/3 18.5 (12.0-22.4; includes the deltas step, ~2.8 min) 19.2 (no deltas step)
evidence-deltas (inside part 3) 2.8, parallel
ground-truth 16.5 (12.7-21.3), one job part 1 12.0 (incl. the nightly-only 173 s test, which a PR run does not run), part 2 10.2

Honest reading:

  • Ground-truth split: yes, it shortens time-to-green. Critical path of that workflow goes from ~16.5 min to ~10-12 min (setup is only ~40 s, so duplicating it is cheap). Splitting was gated on that measurement.
  • Full-suite parts: NOT improved in the one after-run (17.8 / 8.9 / 19.2). Runner noise is +-3 min (part 3 ranged 12-22 min across runs), so one run proves nothing either way, and the deltas move is a guaranteed ~2.8 min off part 3 only on paper. Also, CI restores the newest nightly durations CACHE (test-durations-38247246921, the same data as the refreshed file) before falling back to .test_durations, so the refreshed file did not change this run's split. It only matters on a cache miss and for full-suite-gate.yml.
  • Why parts stay uneven although the durations sum to ~1,248 s per part: wall != summed seconds. Part 2 has 7.8k tiny tests (efficient under -n auto), part 1/3 are dominated by single heavy tests (test_evidence_components 226 s, test_evidence_report x5 ~430 s) and tail. Seconds recorded under -n auto contention are not a clean weight.
  • The after-numbers come from workflow_dispatch runs on this branch (drafts skip heavy CI); dispatch sets GITGALAXY_NIGHTLY=1, so ground-truth part 1 also ran test_feature_inventory_cli_check, which fails on main's nightly too (run 38543316174, dispatch 38160547144). It is the only failure in the dispatch runs.

Cross-repo

None.

🤖 Generated with Claude Code

squid-protocol and others added 4 commits October 14, 2026 17:25
…ns, ground-truth in 2 parts (Part of #5133)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… (measured with --durations=0) (Part of #5133)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol changed the title CI critical path: rebalance full-suite, advisory deltas job, ground-truth split (Part of #5133) CI critical path: advisory deltas job, refreshed durations, ground-truth in 2 parts (Part of #5133) Oct 14, 2026
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 14, 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 14, 2026 22:44
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

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