quaint-telephone-89068
11/22/2022, 9:03 PM./pants lint :: and ./pants check :: can take too long to run effectively as a single job in CI. You can run with --changed-since to mitigate this, but that introduces its own overhead and you can still end up running effectively everything for certain diffs.
Describe the solution you'd like
./pants test exposes a --shard=k/N option to help mitigate the same problem. I think it'd make sense to add the same flag to lint and check (and fix and fmt to keep parity with lint).
Describe alternatives you've considered
I could recreate the --shard calculation using ./pants list and some creative shell - I suspect it'd be messy.
pantsbuild/pants