Raise the pull request `PYRIGHT_TIME_BUDGET` to 320 s so runner variance no longer fails a passing Pyright run

Merged
DS
1mo ago
+4-1

This pull request was posted by Claude Code using claude-opus-5-5 on behalf of David.

Why we make these changes

PYRIGHT_TIME_BUDGET fails a passing Pyright run that outlasts it, so a change that makes Pyright slow fails its own PR. At 260 s it now trips on runner variance. On 2026-10-27, 23 of 375 pull request runs failed Type-check with Pyright only on the budget: both Pyright invocations reported 0 errors, and Pyright took 260.8 to 290.1 s. Each trip costs a rerun. The trips include a docstring-only change (#11631, run, 262.9 s) and a uv.lock-only bump (#11609, run, 265.8 s).

Across all 375 runs the step took 127 to 292 s (median 236 s, p90 259 s). 320 s is about 1.1x that maximum. It still fails a regression like #8077's, whose five main runs took 328 to 490 s.

New public surface

None.

Verification

  • Durations come from the Actions API: CI runs on pull_request, created 2026-10-27 00:06Z to 19:28Z. Each budget trip was confirmed from its job log.
  • ci.yml runs from the PR's merge ref, so this PR's own CI run checks the new value.

What changes for existing users

Nothing. CI only.

The 23 budget trips on 2026-10-27
RunBranchPyright s
40538561282clai2-delegate-model-and-directory260.8
40439376541canonical-system-replay261.1
40567448687canonical-system-replay262.4
40556893444agent/clai2-11589-docstring262.9
40545839392azure-gpt56-caching261.4
40440654405core-compaction-hook262.4
40558202943aditya/computer-use-openai263.0
40494026598aditya/named-combined-capability263.5
40492065991aditya/cache-cold-compaction263.5
40484673561boxd-sandbox262.9
40544491417dependabot/uv/dnspython-2.9.0265.8
40568058157fix-wrap-run-teardown-cancel265.8
40560063442vercel-sandbox265.8
40537202608core-native-compaction266.0
40558183419aditya/computer-use-workspace269.3
40558192246aditya/computer-use-capability271.3
40449312544function-model-cache-prefix-check272.6
40569440939core-native-compaction272.9
40442495697function-model-cache-prefix-check277.9
40539167207fix-10249-generator-exit-teardown283.7
40540800569canonical-system-replay286.8
40548101969aditya/workspace-spans288.0
40564533134agent/clai2-11596-cap290.1
PR decisions

2026-10-27 · pre-push review 1 of 3 at 5383a3292241c5aa8abba71bea5f1415f72a8396 · iter -

2026-10-27 · pre-push review 1 of 3 at 5383a3292241c5aa8abba71bea5f1415f72a8396 · iter -

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.