Skip to content

Smoke: part count, matrix and timeout from the plan job (Part of #5919) - #6553

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/5919-20261024T2235Z-regraft
Oct 24, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/5919-20261024T2235Z-regraft

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5919 (step 3 of the Opus rescue plan). Supersedes #6116 (364 commits behind main; regrafted onto current main, not merged).

What

  • .github/workflows/smoke-test.yml: a new shard-plan job ("plan the suite parts"; actions: read; sparse checkout of the planner). It restores the exact durations key the durations job chose, else uses the committed .test_durations. It reads the queue depth with ci_layout.py --print-waiting on a pull request only (empty = calm) and runs suite_shard_plan.py --smoke, which outputs matrix, splits, timeout.
  • full-suite-part takes its matrix, timeout-minutes and --splits "$SPLITS" from shard-plan. The job name is full-suite part N/<splits> and still matches the ci_digest pattern. full-suite-durations and suite-time used to expect "3 parts" of artifacts; they now expect splits.
  • Tests: test_suite_shard_plan.py checks that no literal --splits N, group: [..] or part N/<digit> is left, and checks the plan-job wiring. test_ci_critical_path_split.py now looks for the planned --splits "$SPLITS". test_ci_digest.py renders the new job-name expression (its regex now allows -).

What changed against #6116 (main moved under it)

Measured (ci-workflows rule 5)

  • Today's durations plan 2 parts at 25 min (main types 3 parts at 30 min).
  • Recent successful runs: on push, each part takes about 3 min (3 parts, ~9-10 runner-min). On the nightly, each part takes 4-9 min.
  • This change drops one part runner and adds one sparse-checkout plan job (under 1 min, no install). The net is one fewer heavy runner request on every PR or push that runs the full suite. The plan job adds one short serial hop after durations.
  • Reach: the same events and conditions as full-suite-part. It adds no new trigger.

Gates

  • pr_gates.py --fast 7/7 (ruff 0.17.1, mypy 2.4.0). Every test file that reads smoke-test.yml passes: 484 passed, 48 skipped.
  • The workflow can only be seen running once this PR is ready for review, because a draft skips heavy jobs.

Class table

Class: pytest-split suite parts whose count and job timeout are typed in workflow YAML.

Member Status
Smoke full-suite parts (#5133) fixed here
Full Suite Gate legs (#5156) not here: --gate exists (#6054); adoption is step 4 (its own PR: two include blocks, pinned tests)
Evidence Refresh --evidence-plan queue depth open: plans calm, because its sparse checkout lacks ci_layout.py (and post_merge_dispatch.py)

Owner decisions

Remaining slices

  1. Full Suite Gate adoption of suite_shard_plan.py --gate (full-suite-gate.yml and its workflow tests).
  2. Step 5: a 7-day calibration check, no code.

No burned-estate program needs any of these (core CI).

Cross-repo: none.

Lessons for agents

  • ci_layout.py --print-waiting imports post_merge_dispatch.py lazily and falls back to calm on any error. A sparse checkout must carry both files, or the queue read silently never happens.
  • A job name: with a needs.<hyphenated-job>.outputs... expression breaks test_ci_digest's renderer: add the expression to MATRIX_SAMPLE.

Checklist: partial -- Smoke done; Full Suite Gate legs and calibration left.

🤖 Generated with Claude Code

Regraft of #6116 onto current main. A new `shard-plan` job (main's
`suite-plan` now picks skip/select/full, #6278) runs
suite_shard_plan.py --smoke on the durations the parts balance by;
full-suite-part takes its matrix, timeout and --splits from it, and the
nightly's per-part artifact counts follow the planned count.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@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 24, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 24, 2026 22:54
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

1 similar comment
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot merged commit 83455c2 into main Oct 24, 2026
41 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/5919-20261024T2235Z-regraft branch October 24, 2026 23:27
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