quaint-telephone-89068
10/30/2025, 2:07 AMI'm sure this has been discussed a bunch, but is there any way to "speed up" the PR CI testing, or at least, short-circuit some of it? I'm adding a pretty isolated formatting plugin, but the testing is still around 50 minutes for a test failure which didn't show up on my local machine (for some reason, not sure why it passed locally).
Is the pants dependency inference good enough that a simple ./pants --changed-since=... test would be safe for the PR?
If not, maybe run that test before running the whole suite? That way, if any of the modified code is breaking, CI will fail fast? And if not, we just fallback to a regular full test suite (with the modified code test results memoized)?The summary of the chat is that it might be worth having a sanity test before running the test suite, which would probably fail within a few minutes, if it is going to fail on newly PR'd code. ./pants --changed-since=origin/main test # followed by ./pants test --shard=... :: pantsbuild/pants
quaint-telephone-89068
10/30/2025, 2:07 AM