Run slow CLI guard contracts in parallel
Merged
TE
2mo ago+62+62+01234567890123456789-1-1-0123456789
Summary
Split the two independent slow checks in workflow-guard-cli-scripts into a two-way matrix:
tui-resolution: cmux-tui client commit-resolution contract;profiling: profiling support-script contract.
The reusable workflow keeps the same workflow-guard-cli-scripts job ID, so guard-status still gets one fail-closed aggregate result.
Measured motivation from #13431's CI run:
- CLI guard total: ~117s;
- cmux-tui commit resolution: ~60s;
- profiling scripts: ~34s;
- setup/checkout made up the rest.
Those two long checks have no dependency on each other, so serializing them only stretches wall time.
Summary by cubic
Runs the two slow, independent CLI guard contracts in parallel so they no longer serialize.
- Splits
workflow-guard-cli-scriptsinto atui-resolution/profilingmatrix, cutting the guard wall time from ~117s to about the longest contract (~60s) plus setup. - Keeps the same job ID so
guard-statusstill receives one fail-closed aggregate result. - Adds a structural test on the reusable guard workflow that locks in the matrix wiring and runs as part of the
ciguard group.