Repository navigation
ci: export xcresult attachments in cmux-next-ios-sim evidence - #27379
Conversation
UI tests' keepAlways screenshots stayed inside the xcresult bundle, which the evidence zip never carried. keep_test_logs now exports them (and their manifest.json) to $out/<name>-attachments. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-6dfe06dae30c0577029f
Bugbot needs on-demand usage enabledBugbot uses usage-based billing for this team and requires on-demand usage to be enabled. A team admin can enable on-demand usage in the Cursor dashboard. |
|
Owned by an agent session · session |
|
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)
|
|
Bead |
|
The feat-cmux-next push run https://github.com/manaflow-ai/cmux/actions/runs/40863444386 at e85bfbd failed: cmux-next checks (god files, concurrency, crash safety, l10n), cmux-next generated files. |
|
Shipped in:
|
scripts/ci/cmux-next-ios-sim.shkeeps each xcresult's log, console, tests.json and counts, but not its attachments. A UI test'skeepAlwaysscreenshots (for example #27372'sAgentChatJumpCaptureUITests) stay inside the bundle, and the evidence zip never carries them, so a UI capture step comes back with no images.keep_test_logsnow also runsxcrun xcresulttool export attachmentsinto$out/<name>-attachments/(the screenshots plus themanifest.jsonthat maps each file to its test). It applies to both the kit and UI bundles. Like the other xcresulttool calls there it is|| true, so a bundle with no attachments, or a failed export, changes nothing else.Risk: low. The change is CI-script only, adds 4 lines and changes no test selection or exit status. The step's zip gets bigger by the size of the attachments.
Checked:
bash -n;xcresulttool export attachments --helpmatches the flags used (--path,--output-path).Agent session: agent session
🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need.Summary by cubic
Exports xcresult attachments in
cmux-next-ios-simCI evidence so UI test screenshots (likekeepAlwayscaptures) reach the evidence zip.xcrun xcresulttool export attachmentscall writes the files plusmanifest.jsonto$out/<name>-attachments/for both kit and UI bundles.|| truelike other xcresulttool calls, so bundles with no attachments or failed exports don't change anything else; the zip just grows by the size of the attachments.Written for commit 37386bd. Summary will update on new commits.