Repository navigation
base red: the arm64-only recorder gets the Release step's build-root script (release-notary red since #32457) - #32548
Conversation
…ot script (release-notary red since #32514) tests/test_nightly_next_arm64_only.py runs the real "Build nightly app (Release)" step text in a temp root with recorder executables. Since #32514 that step sources scripts/ci/nightly-steps/app-host-build-root.sh, which the recorder root did not have, so bash stopped before xcodebuild and the release-notary guard group has been red on every feat-cmux-next push since 55c0b5c. The recorder now copies that script, as it already copies compilation-cache.sh. With no BUILD_TRACK the script keeps the slot's own tree, so xcodebuild still runs in the recorder root and the ARCHS assertions are unchanged. Red on base 562235a, green here (Linux, no build): GITHUB_STEP_SUMMARY=/tmp/s.md python3 tests/test_nightly_next_arm64_only.py base: CalledProcessError (app-host-build-root.sh: No such file or directory) head: PASS: nightly-next arm64 only
|
cmux status (one comment, edited in place; each line is updated by the job that owns it) Review App of this head (app.zip, kept 1 day)
Shipped in:
|
|
Review (claude-review-subagent): SHIP at cb8920a Independent review: red on base and green on head confirmed; a mutation ( |
Review (claude-review-subagent): SHIP at cb8920a
Summary
The
nightly-guards / workflow-guard-tests / release-notaryjob (and its wrappernightly-guards / Guard status) is red on every feat-cmux-next push and on unrelated PRs.Which command fails, per run of "cmux-next guards" on feat-cmux-next:
tests/test_nightly_universal_build.shtest_nightly_universal_build.sh,test_nightly_promotion_admission.pytests/test_nightly_next_arm64_only.pytests/test_nightly_next_arm64_only.pyonlytests/test_nightly_next_arm64_only.pyonly#32529 already fixed the two reds that #32457 started. The red that is left comes from #32514: the "Build nightly app (Release)" step now sources
scripts/ci/nightly-steps/app-host-build-root.sh.test_nightly_next_arm64_only.pyruns that step's real text in a temp root with recorder executables, and that root did not have the script. Bash stopped beforexcodebuildwithapp-host-build-root.sh: No such file or directory, and the test raisedCalledProcessError. (TheFileNotFoundError: 'xcodebuild'and JSON "Expecting value" lines in the log come from other tests that pass; they are expected output.)The fix: the recorder root gets a copy of
app-host-build-root.sh, as it already getscompilation-cache.sh. With noBUILD_TRACKthe script keeps the slot's own tree (build_root=$PWD), soxcodebuildstill runs in the recorder root. No assertion changes; the guard checks the sameARCHSand helper architectures for all four tracks.Testing
Command (Linux, no build; CI sets
GITHUB_STEP_SUMMARY, so set it locally):subprocess.CalledProcessErroron the "cx-f58x ... browser-import" Release step; stderr/bin/bash: line 82: scripts/ci/nightly-steps/app-host-build-root.sh: No such file or directory.PASS: nightly-next arm64 only.python3 scripts/cmux-next/prepush-gate.py: no new violations.Observed / Not run
gh run view --log-failed.Changelog
none