Repository navigation
CI planner: Smoke parts and Full Suite Gate legs from measured durations (Part of #5919) - #6054
Merged
Merged
Conversation
…ons (Part of #5919) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 22, 2026 19:40
Owner
Author
|
No description provided. |
squid-protocol
enabled auto-merge (squash)
October 22, 2026 19:40
Owner
Author
|
No description provided. |
Owner
Author
|
No description provided. |
This was referenced Oct 23, 2026
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 (slice 3). Planner only; no workflow edits (they need the owner).
What
tests/tools/suite_shard_plan.py(stdlib, usesci_shard_plan):--smokeemitsmatrix({"group":[1..N]}),splits,timeout;--gateemits the Full Suite Gateincludelegs (os, python-version, part, splits, [even], timeout, step_timeout = timeout-3) from.test_durations. Windows legs weigh tests equally (even); Windows/macOS multiply the Linux seconds by a calibrated SPEED. Empty/unreadable durations fail the plan loudly. 2 hand-written files (source + tests).Class
pytest-split suite parts whose count and job timeout are typed into workflow YAML instead of derived from measured
.test_durations.group: [1,2,3],--splits 3,timeout-minutes: 30--smoke(3 parts today)includeJSON x2 (part/splits/timeout/step_timeout/even)--gate(ubuntu 2, macOS 2, Win3.11 3, Win3.12 2)Sibling gaps
smoke-test.yml/full-suite-gate.yml(also dropping the duplicatedincludeblocks): no-workflow-edit limit of this slice; no burned-estate program needs it (core CI).Facts checked
.test_durations(22249 tests, 4215 s) reproduces today's counts: Smoke 3; Gate ubuntu 2, macOS 2, Windows 3.11 3, Windows 3.12 2.audit_check.pyall clear; new tests pass under plainpytestfrom another cwd.Cross-repo
None. Adoption in the workflows is a follow-up.
Lessons for agents
None new.
Checklist: partial [c:slice3] -- planner and tests only; the workflows still hand-set parts/timeouts.
🤖 Generated with Claude Code