Repository navigation
test-ios: rerun CmuxiOS unit tests once when the runner's precompiled modules are stale - #24600
Conversation
…iled modules are stale The owned-runner DerivedData (cmuxios-unit-tests/<runner>) keeps explicit precompiled modules. The build copies ghostty.h again on each run, and the next run stops with "ghostty.h has been modified since the module file GhosttyNextKit-*.pcm was built" (seen on #24572 on cmux9s and cmuxs-mac-mini-5). On exactly that error, clear the module caches and run once more; any other failure stands. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
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)
red: cmux-next checks (god files, concurrency, crash safety, l10n); no finished base run on 79c784a to compare; do not merge until green; see lane-rules |
|
Review (fresh correctness subagent): SHIP. Under |
|
Bead |
|
Found 10 test failures on Blacksmith runners: Failures
|
|
Verified on this PR's own
Remaining reds are base findings: cmux-next checks (the ThinScroller files in CmuxNextDesign) and nightly-guards (no |
![Fix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/fix-with-codesmith-light-3x.png)
Summary
ios-simulator-buildfailed twice on #24572 (cmux9s-mac-mini-glaeda-4, cmuxs-mac-mini-5-glaeda-2) with:The owned runners keep this DerivedData per runner, so a push rebuilds only what changed. But each run copies
ghostty.hagain with a new mtime, which leaves the explicit PCMs from the previous run stale. Base pushes skip this lane, which is why only PRs that touchPackages/iOSorios/see it.On exactly that error, the step now clears the three module caches and runs once more. Any other failure fails as before.
Changelog
none
Tests
if ! run_testsform keepsset -efrom stopping on the first failure.ios-simulator-buildexercises it after this merges.Observed / Not run
ci-guardsjob runs it.🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need.Summary by cubic
Retries the CmuxiOS unit test step once when a runner's cached precompiled modules are stale, so the lane stops failing on the "has been modified since the module file" error.
ghostty.hagain with a new mtime, leaving them stale.SwiftExplicitPrecompiledModules,ExplicitPrecompiledModules, andModuleCache.noindex, then runs the tests once more.Written for commit 59e8907. Summary will update on new commits.