Raise the Pyright pull request `PYRIGHT_TIME_BUDGET` to 600 s so clean fallback runs pass

Merged
DO
4d ago
+6-2

(Pull request written by Claude, on Douwe's behalf.)

On a pull request, the quality job runs Pyright only when pyright-rs did not pass, and fails a passing Pyright run that outlasts its 370 s PYRIGHT_TIME_BUDGET. That budget now sits at about the median of those runs, so pull requests fail with zero type errors.

Douwe asked for small CI time-limit fixes like this one as part of the merge-queue work, including the .github workflow change.

Pyright step on pull requests, 2026-11-28 to 2026-11-30
runs that reached it23
shortest125 s
medianabout 360 s
longest598 s
  • Raises the pull request budget from 370 s to 600 s, just above the longest run. Clean runs at 378 s, 447 s, 504 s and 538 s failed on the old budget.
  • A slowdown still meets pyright-rs's own budget first, since a pull request only reaches this step when pyright-rs did not pass. #15322 adjusts that one.
  • Merge groups and main still run Pyright without a budget, as before.

Checklist

  • No breaking changes in accordance with the version policy.
  • Any permitted compatibility impact has a label, warning, migration and release note, and an exact API-check waiver if the gate reports it.
  • PR title is fit for the release changelog.

šŸ¤– Generated with Claude Code


Summary by cubic

Raises the Pyright pull request PYRIGHT_TIME_BUDGET from 370 s to 600 s so clean fallback runs pass the time limit.

On pull requests, the quality job runs Pyright only when pyright-rs did not pass, and the old 370 s budget was about the median of those runs, so clean runs at 378–538 s failed with zero type errors. The longest observed run reached 598 s, so 600 s sits just above the maximum. Merge groups and main still run Pyright without a budget.