Repository navigation
feat: add a static UI iteration mirror - #17852
azooz2003-bit wants to merge 1 commit into
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Probably yours: CI failed on
Matched log linesNot re-run automatically: Written by |
What changed
CI already drives cmux with JSON dogfood tours and captures screenshots, accessibility trees, and step logs, but reviewing those artifacts still requires opening individual files. This adds a static cmux UI mirror:
e2e-frames.pynow emitsindex.htmlandmirror.jsonbeside every extracted run.The mirror has a searchable test list, per-action timeline, large screenshot viewer, keyboard navigation, contact sheets, failures, accessibility trees/logs, and inline text attachments. It also renders GIF/MP4/MOV clips inline, so it is ready for the recording-step work in #15320. It works from
file://with no server, package install, or app build. Theui-framesCI artifact now links from the job summary and includes the mirror automatically.This is stacked on #15834, so a pushed app build plus a new JSON dogfood tour can produce a reviewable frontend iteration artifact without recompiling on a developer machine.
Changelog
Validation
python3 tests/test_ui_mirror.pypython3 tests/test_ci_e2e_compilation_cache.pypython3 tests/test_run_e2e.pygit diff --checkNo Xcode, Swift compiler, app build, app launch, or restart was run for this PR.
Migrated from #15853 after correcting the PR author identity. The head branch and commit history are preserved.
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Summary by cubic
Adds a static UI mirror so cmux E2E runs can be reviewed in a browser without opening individual screenshot, log, or attachment files.
e2e-frames.pynow emitsindex.htmlandmirror.jsonbeside every extracted run, and the CI job summary links the mirror artifact directly.New Features
ui-mirror.pygenerates a local-first, dependency-free HTML app with a searchable test list, step timeline, large screenshot viewer, contact sheets, failures, and inline text attachments (works fromfile://with no server or build).Migration
ui-framesCI artifact now includes the mirror automatically; no developer-machine recompile or app build is needed for review.Written for commit 2fdefe5. Summary will update on new commits.