@@ -1335,17 +1335,23 @@ jobs:
13351335 # On a push whose every commit the queue ran green (`queue-verdict`), this
13361336 # shard keeps its seed and runs no test: the plan and the closure build
13371337 # above (replayed from the remote cache the queue wrote under the same
1338- # task hashes), then the prune and the save. The three steps that carry
1339- # `needs.queue-verdict.outputs.covered != 'true'` are skipped: this slice
1340- # build (its own build is not in the closure seed), the tests, and the
1341- # attestation pair, so no credential says a test ran. The report steps
1342- # between them find no test log and no run summary and say so. `Test
1343- # Core` skips on that push too, so nothing counts the missing credential.
1338+ # task hashes), then the prune and the save. This slice build (its own
1339+ # build is not in the closure seed) and the tests exit at their top on
1340+ # `OS_SEED_ONLY`, as an empty shard does, and the attestation pair is
1341+ # skipped, so no credential says a test ran. The report steps between
1342+ # them find no test log and no run summary and say so. `Test Core` skips
1343+ # on that push too, so nothing counts the missing credential. An exit
1344+ # rather than a step `if:`, so the step stays the one CI and the gate
1345+ # derivation read for this shard's suite.
13441346 - name : Build the sliced package's dependency closure
1345- if : needs.queue-verdict.outputs.covered != 'true'
13461347 env :
1348+ OS_SEED_ONLY : ${{ needs.queue-verdict.outputs.covered == 'true' }}
13471349 NODE_OPTIONS : --report-on-signal --report-signal=SIGUSR2 --report-directory=${{ runner.temp }}/stall-reports
13481350 run : |
1351+ if [ "$OS_SEED_ONLY" = 'true' ]; then
1352+ echo "Seed-only leg (#31519): the queue ran this push's tests green — no slice build."
1353+ exit 0
1354+ fi
13491355 if [ ! -s "$RUNNER_TEMP/shard-packages.txt" ]; then
13501356 echo "No packages on this shard — nothing to build."
13511357 exit 0
@@ -1410,8 +1416,8 @@ jobs:
14101416 # `<pkg>:test:` prefixes stream order emits (a pinned parseSummaries
14111417 # branch), so attribution survives.
14121418 - name : Run this shard's tests
1413- if : needs.queue-verdict.outputs.covered != 'true'
14141419 env :
1420+ OS_SEED_ONLY : ${{ needs.queue-verdict.outputs.covered == 'true' }}
14151421 NODE_OPTIONS : --report-on-signal --report-signal=SIGUSR2 --report-directory=${{ runner.temp }}/stall-reports
14161422 # The `e2e` and `live` filename tiers run NIGHTLY on main
14171423 # (test-nightly-tiers.yml), not here: `queue` is the per-PR and
@@ -1422,6 +1428,10 @@ jobs:
14221428 # it reach vitest under strict env mode at all.
14231429 OS_TEST_TIERS : queue
14241430 run : |
1431+ if [ "$OS_SEED_ONLY" = 'true' ]; then
1432+ echo "Seed-only leg (#31519): the queue ran this push's tests green — nothing to test."
1433+ exit 0
1434+ fi
14251435 if [ ! -s "$RUNNER_TEMP/shard-packages.txt" ]; then
14261436 echo "No packages on this shard — nothing to test."
14271437 exit 0
@@ -2735,12 +2745,16 @@ jobs:
27352745 # Dogfood boots real engines in-process — exactly the population #4250's
27362746 # stalls came from. NODE_OPTIONS + --report-dir arm the stall forensics
27372747 # (SIGUSR2 stack harvest) — see the Test Core comment.
2738- # Skipped on a seed-only leg (#31519); see Test Core's.
2748+ # Exits at its top on a seed-only leg (#31519); see Test Core's.
27392749 - name : Boot example apps and exercise real user flows
2740- if : needs.queue-verdict.outputs.covered != 'true'
27412750 env :
2751+ OS_SEED_ONLY : ${{ needs.queue-verdict.outputs.covered == 'true' }}
27422752 NODE_OPTIONS : --report-on-signal --report-signal=SIGUSR2 --report-directory=${{ runner.temp }}/stall-reports
27432753 run : |
2754+ if [ "$OS_SEED_ONLY" = 'true' ]; then
2755+ echo "Seed-only leg (#31519): the queue ran this push's dogfood tests green — nothing to test."
2756+ exit 0
2757+ fi
27442758 # Bound vitest's INNER worker pool (#11958). A no-op on a runner with
27452759 # <= 5 cores (it only ever LOWERS vitest's own `cores - 1` default);
27462760 # it exists so a larger runner cannot multiply turbo's outer
0 commit comments