ci: read an unset compile_admitted as compile in macOS status
Problem
On every full-suite PR run, macos / macOS status fails with:
invalid route compile_admitted=''
Seen on #13703, #13698, #13646, #13588, #13584 and #13578. ci.yml forwards steps.admitted.outputs.compile_admitted unchanged. Full-suite runs skip both build-input reuse steps (unchanged_inputs, admitted), and a reuse step that fails under continue-on-error also leaves the output unset. ci-macos.yml (extracted in #13405) then receives compile_admitted: '', and its status gate accepts only "true" or "false". The gate fails even when every routed macOS job passed. This is separate from the app-host shard failures, so macOS status would still be red after #13643 lands.
Resulting behavior
The macOS status gate now reads an unset compile_admitted as "false", meaning compile. That matches the macos-compile-admission job condition (inputs.compile_admitted != 'true') and the ci.yml comment ("any of them failing leaves compile_admitted unset, which compiles"). Any other non-boolean value is still rejected. A failing routed job still fails the gate.
The fix sits in ci-macos.yml and not in the caller's output expression because ci.yml's changes outputs and tests/test_ci_change_areas.py are under an in-progress CI routing rewrite.
Validation and remaining gap
- New
test_macos_status_reads_unset_compile_admitted_as_compileintests/test_ci_product_publication.pyruns the real status step. It fails against main'sci-macos.ymland passes with this change. RUNNER_TEMP=... python3 tests/test_ci_change_areas.pypassesactionlint .github/workflows/ci-macos.ymlis clean- Not observed end to end yet: full-suite runs will still be red on the app-host shards until #13643 lands.
🤖 Generated with Claude Code