Skip to content

ground-truth: no warm job on a PR cache miss (Part of #5543) - #6597

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/5543-20261025T0616Z
Oct 25, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/5543-20261025T0616Z

Conversation

@squid-protocol

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

Copy link
Copy Markdown
Owner

Part of #5543.

What

A pull request on a scans-cache miss no longer runs the ground-truth-warm job: ci_layout.choose returns warm=False for pull_request, so the PR path is plan -> 4 self-warming parts -> ground-truth (6 jobs, 3 serial queue waits) instead of 7 jobs / 4 waits. It reuses the existing no-warm path (part 1 scans all 8 corpora and runs the gate; the other parts scan only what their share reads). Push, nightly and manual runs keep the warm job (it saves the scans cache and appends history).

Class / Sibling gaps

Class: a job on the ground-truth PR path that exists only to hand work to the next job, adding a serial runner-queue wait and a runner request. Members: (1) ground-truth-warm on a PR cache miss: handled here (tests: PR miss gives no warm job with the gate in part 1; push, schedule and dispatch keep it). (2) ground-truth-warm on a cache hit and in the busy layout: already handled before this PR. (3) The plan job: not handled; it must precede the matrix. (4) The final ground-truth aggregate job: not handled; it is the required check name and needs the parts' results. No burned-estate program needs any of this.

Sibling gaps

Not measured yet

Risk: part 1 now carries ~2.5 min cold scans plus the gate on top of its pytest share and may become the critical path; total runner-minutes may rise slightly (scans no longer shared). Needs a before/after of calm cache-miss PR runs after merge; revert is one line in ci_layout.choose. No wall-time claim is made here.

Checklist: partial -- fewer jobs per run done for cache-miss PRs; re-measure of a calm cache-hit run still left.

Gates: test_ci_critical_path_split, test_ground_truth_plan, test_ci_digest, scan-key workflow test (127 passed); audit_check all clear; pr_gates --fast 7/7. No golden bless (no parsing logic).

Lessons for agents

None new.

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 25, 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 25, 2026 06:22
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 25, 2026 06:25
@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