CI Perf Lint

matrix-test-job-without-test-sharding

What it flags

Flags test jobs that use a shard-like matrix but do not visibly pass the matrix value into the test command.

Why it matters

Matrix parallelization only reduces test time when each matrix leg runs a different subset of tests.

If the matrix looks like it was meant for sharding but the test runner does not consume the shard value, the workflow may be running the full test suite multiple times instead of partitioning it.

Current heuristic

The rule looks for:

When to ignore it

Ignore this finding when:

Suggested verification

Sources