fix(ci): preserve basedpyright budget output

This commit is contained in:
Tin 2026-08-04 19:51:02 -07:00
parent 901eb3da59
commit 702da45270

View file

@ -106,7 +106,8 @@ jobs:
BASE_SHA: ${{ github.event.pull_request.base.sha }}
NODE_OPTIONS: --max-old-space-size=12288
run: |
(uv run --no-sync basedpyright --outputjson || true) | uv run --no-sync python scripts/type_check_gate.py --base "$BASE_SHA"
uv run --no-sync basedpyright --outputjson > "$RUNNER_TEMP/basedpyright.json" || test "$?" -eq 1
uv run --no-sync python scripts/type_check_gate.py --base "$BASE_SHA" < "$RUNNER_TEMP/basedpyright.json"
- name: Check tests/e2e basedpyright (zero errors)
env: