Repository navigation
fix(measure): cef-embedder.sh runs the fork's embedder tests on a writable copy of the CEF dist - #32084
Conversation
… (red) Fleet steps 6d191ccbefe7ed7c11e80bad and 100ec79aad999f8be34bba21 (2026-11-02, aws-m4pro-8, cmux.42 arm64): 'cmux-embedder: 0/14 passed' with no '==> case' line, then the worker's cleanup failed with 'permission denied' on the copied framework's locale.pak. The fleet seeds $CMUX_CI_CEF_DIR read-only; the fork's test-cmux-embedder.sh copies its framework into the test app and re-signs the copy with stderr sent to /dev/null, so it stopped under set -e before any case. scripts/measure/tests/cef-embedder.test.sh: a read-only dist and a fake runner that needs a writable framework copy, as the real one does. Red: 0/2 passed. CMUX_EMBEDDER_INPUT_DIR (test seam) takes the test-source archive from a local dir instead of the controller store.
…py of the CEF dist and shows a codesign failure - Copy $CMUX_CI_CEF_DIR to $WORK/cef (cp -R, chmod -R u+w): the fork's test-cmux-embedder.sh copies the framework into its test app and re-signs the copy, which failed on the fleet's read-only seed with its stderr sent to /dev/null (0/14 passed, no case ran: steps 6d191ccb, 100ec79a). - On macOS sign the copy here first, the way the runner does, with stderr shown, so a failure says why. - A runner that stops before its first case is named in the summary. - The work dir is made writable on exit, so the worker's step cleanup can remove it (it failed with 'permission denied' on locale.pak). Red: the previous commit. scripts/measure/tests/cef-embedder.test.sh: red 0/2 at the previous commit, green here, 5 of 5 runs on cmux-orchestrator-1 (Linux; the codesign branch runs only on macOS and is not covered by the test).
|
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:
The feat-cmux-next push run https://github.com/manaflow-ai/cmux/actions/runs/41425819578 at f22cb91 failed: cmux-next checks (god files, concurrency, crash safety, l10n). |
|
Review (subagent, correctness first): SHIP at 4d0b46e Checked against the fork runner
Nits (none of these blocks the merge):
|
Summary
The fleet's CEF embedder step (
scripts/measure/cef-embedder.sh) ran no case against a seeded CEF build. On 2026-11-02 steps 6d191ccbefe7ed7c11e80bad and 100ec79aad999f8be34bba21 (aws-m4pro-8, cef-154.0.34-cmux.42 arm64) printedcmux-embedder: 0/14 passedwith no==> caseline, then the worker's cleanup failed withpermission deniedon the copied framework'slocale.pak.Cause: the worker seeds
$CMUX_CI_CEF_DIRread-only. The fork'stest-cmux-embedder.shcopies the framework into its test app and re-signs that copy, with stderr sent to/dev/null. Socodesignfailed on the read-only copy and the runner stopped underset -ebefore any case.This blocks the CEF crash release cef-154.0.34-cmux.42. Its embedder case
parent-dealloc-hiddenis the test for the CmuxParentViewTracker abort (STATUS item 6061).Change:
cp -R, thenchmod -R u+w).CMUX_EMBEDDER_INPUT_DIRtakes the test-source archive from a local dir.Testing
bash scripts/measure/tests/cef-embedder.test.shuses a read-only dist and a fake runner that needs a writable framework copy, as the real one does.cmux-embedder: 0/2 passed, thenFAIL: a run on a read-only dist ran no case.cef-embedder: ok, 5 of 5 runs.Observed / Not run
Changelog
none
Need help on this PR? Tag
@codesmith-botwith what you need.Summary by cubic
Fixes the CEF embedder measurement script so it runs the fork's embedder tests against the seeded dist instead of stopping silently before any case.
cp -R,chmod -R u+w), since the seeded$CMUX_CI_CEF_DIRis read-only and the runner re-signs its framework copy with stderr hidden, failing underset -ebefore any case ran.0/N passed.permission deniedonlocale.pak).CMUX_EMBEDDER_INPUT_DIRas a test seam to source the test archive from a local directory.Adds
scripts/measure/tests/cef-embedder.test.sh, which reproduces the read-only dist with a fake runner and covers both a full run and an early stop. The macOS codesign branch is not covered by the test (nocodesignon Linux).Written for commit 4d0b46e. Summary will update on new commits.