ci: print the override sweep's stage summaries in the job log

pytest captures stdout on passing tests, so the per-stage summaries the sweep
prints never reached the log and the job summary said "no stage summaries" on
every green run. Combined with continue-on-error, that meant a shard reporting
zero effective options looked identical to a healthy one unless you downloaded
the artifact and read the JSON.

-rA prints them, which matters more now that the effect stage reports a
per-fixture breakdown and a no_baseline bucket for a fixture that would not
slice.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TSynfTLvSnHBbVkRUm56nY
This commit is contained in:
Hanif Koh
2026-09-04 21:19:26 +08:00
parent 454967ebd7
commit d888cc5702

View File

@@ -105,7 +105,10 @@ jobs:
continue-on-error: true
working-directory: orca-test-repo
run: |
python -m pytest test_cli_overrides.py -c pytest.ini -v --effect-full \
# -rA prints the per-stage summaries: pytest captures stdout on
# passing tests, so without it every "grep override sweep" below
# finds nothing and the job summary says "no stage summaries"
python -m pytest test_cli_overrides.py -c pytest.ini -v -rA --effect-full \
--effect-shard ${{ matrix.shard }}/8 \
--orca-bin "$ORCA_BIN" --orca-source "$ORCA_SOURCE" \
2>&1 | tee ../sweep.log