You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 952d434
Browse filesBrowse the repository at this point in the historyBrowse files
ci(ordering): shard the project ordering leg and cache the tier guard's workflow parse (#2254)
Problem: the `Plain unittest ordering (project)` run step reached a p90 of
11.8 of its 20 minutes and was on course to hit the cap in about a week;
`project-tests` runs the same leg on a docs-only diff under a 15-minute
cap; and tests.test_tier_guard's WorkflowAgreementTests reran the same two
tier selectors in a fresh interpreter seven times, about 7 s each.
Fix:
- B: util/run_unittest_leg.py takes --half 1|2, cut at the one name
SHARD_BOUNDARIES holds for tests/project (test_q); the unittest-ordering
matrix runs `project (half 1)` and `project (half 2)`, and project-tests
runs its docs-only unittest step as two steps, one per half, in the same
job. --before/--from cut at any other name by hand.
- C: the tier guard's python stub replays a `-c` selector's output from a
per-class cache once it has run it for real; a doctored step that asks
something else, or a failing run, is not served from it.
- Consolidation: no clear duplicate found; nothing removed.
Tests: test_unittest_ordering_shards checks the cells and the project-tests
steps cut at one boundary and cover the leg once; test_project_pins_once_1954
and test_unit_tests_queue read the new cells and steps; a new PythonStubTests
case pins the cache. Workflow readers, tier guard and docstring contract:
1043 passed. actionlint clean.
0 commit comments