Skip to content

ci.fold

Fold each platform's shards into one check leg on the run's refs.

Runs in the gate job before the judges, the collect, the verdict and the stamp read the run's refs. A platform whose check leg ran as several shards has one ref per shard; the fold proves the shards are one leg's work (one scope, one item set from one durations row, every item in exactly one shard, every shard the matrix produces present) and puts one ref under the platform leg's key, the timing sums added and every other file folded by the extension that leaves it, then drops the shards' refs. A platform whose shards disagree, or one of whose shards left no ref, is red naming the platform, the shards and what differs. A run with no sharded platform says so and changes nothing.

Hidden: this task is not listed by fm --list, --tree or completion — it runs like any other when named.

fm ci.fold

Example

$ fm ci.fold