mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-20 02:56:10 +00:00
911bd825c1
A sliced job states its slice count three times: the matrix shard axis, the i/n in its name and the --shard=i/n it hands vitest. Changing one and not the others still passes and leaves part of the suite in no slice or reports the wrong count. workflow-jobs.test.mjs now treats every job that names matrix.shard or runs --shard as sliced and fails, naming the exact fix, until the three agree. A job whose axis is not the one-line "shard: [1, ..., n]" form fails too, instead of going unchecked, and so does a fixed --shard. Tests on small inline workflows hold the reader itself to these cases.