Repository navigation
Smoke: part count, matrix and timeout from the plan job (Part of #5919) - #6553
Merged
Merged
Conversation
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]>
Contributor
Contributor
|
No description provided. |
Contributor
|
No description provided. |
1 similar comment
Contributor
|
No description provided. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 newshard-planjob ("plan the suite parts";actions: read; sparse checkout of the planner). It restores the exact durations key thedurationsjob chose, else uses the committed.test_durations. It reads the queue depth withci_layout.py --print-waitingon a pull request only (empty = calm) and runssuite_shard_plan.py --smoke, which outputsmatrix,splits,timeout.full-suite-parttakes its matrix,timeout-minutesand--splits "$SPLITS"fromshard-plan. The job name isfull-suite part N/<splits>and still matches theci_digestpattern.full-suite-durationsandsuite-timeused to expect "3 parts" of artifacts; they now expectsplits.test_suite_shard_plan.pychecks that no literal--splits N,group: [..]orpart N/<digit>is left, and checks the plan-job wiring.test_ci_critical_path_split.pynow looks for the planned--splits "$SPLITS".test_ci_digest.pyrenders the new job-name expression (its regex now allows-).What changed against #6116 (main moved under it)
suite-planjob (CI cost: one change classifier so each PR runs only the jobs and tests it can affect (docs, ground-truth, det/db2, suite, re-runs) #6278: skip / select / full), so the shard planner gets a new name,shard-plan. It carries the sameif:as the parts, so askiprun starts neither job andfull-suitestill passes. A test pins that bothif:conditions are the same.tests/tools/post_merge_dispatch.py.ci_layout.waiting_now()imports it, and without it every queue read would come back calm. That is the gap Smoke: part count, matrix and timeout from the plan job (Part of #5919) #6116 recorded for Evidence Refresh.full-suite'sneedsis unchanged (test_sweep_planpins it): a failed plan fails the parts, andfull-suitefails with them.selectrun still gets the planned parts. Part 1 runs the selected files, and the other parts only report, as on main.Measured (ci-workflows rule 5)
durations.full-suite-part. It adds no new trigger.Gates
pr_gates.py --fast7/7 (ruff 0.17.1, mypy 2.4.0). Every test file that readssmoke-test.ymlpasses: 484 passed, 48 skipped.Class table
Class: pytest-split suite parts whose count and job timeout are typed in workflow YAML.
--gateexists (#6054); adoption is step 4 (its own PR: twoincludeblocks, pinned tests)--evidence-planqueue depthci_layout.py(andpost_merge_dispatch.py)Owner decisions
.github/workflows/smoke-test.ymlis covered by the owner's standing grant for workflow edits (2026-10-24,.claude/rules/ci-workflows.md). It is not ashepherd-*.ymlworkflow. Smoke: part count, matrix and timeout from the plan job (Part of #5919) #6116 had asked for the owner's OK before that grant existed.Remaining slices
suite_shard_plan.py --gate(full-suite-gate.ymland its workflow tests).No burned-estate program needs any of these (core CI).
Cross-repo: none.
Lessons for agents
ci_layout.py --print-waitingimportspost_merge_dispatch.pylazily and falls back to calm on any error. A sparse checkout must carry both files, or the queue read silently never happens.name:with aneeds.<hyphenated-job>.outputs...expression breakstest_ci_digest's renderer: add the expression toMATRIX_SAMPLE.Checklist: partial -- Smoke done; Full Suite Gate legs and calibration left.
🤖 Generated with Claude Code