quaint-telephone-89068
10/22/2025, 2:43 PMpants check on a large number of Python targets, Pyright crashes right away with exit code 249.
Example of output:
pants check ::
.
.
.
14:30:18.70 [INFO] Completed: Scheduling: Run Pyright on 1786 files.
14:30:18.70 [ERROR] Completed: Typecheck using Pyright - pyright - pyright failed (exit code 249).
ā pyright failed.
Pants version
2.29.0
pyright version: 1.1.365
OS
Ubuntu 22.04
Additional info
This is blocking in CI where we use --changed-since to run checks only on affected targets, which prevents us from splitting the targets through other mechanisms (e.g. glob arguments).
pantsbuild/pantsquaint-telephone-89068
11/20/2025, 9:01 PM