Runs viewer: live session player with URL bar, trace rail, self-hosted trace viewer#980
Merged
Conversation
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
executor-marketing | e49bdd1 | Jun 12 2026, 05:48 PM |
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
executor-cloud | e49bdd1 | Jun 12 2026, 05:48 PM |
769da87 to
efa0fb3
Compare
cf8b558 to
0bfdc81
Compare
efa0fb3 to
5c2d4cc
Compare
0bfdc81 to
eb848df
Compare
aab65e1 to
3b88f1b
Compare
eb848df to
8a221c7
Compare
The run page's session tab now performs the cuts the film bakes into pixels: one playback head drives both real recordings (asciinema cast + browser video), the focus timeline decides which window is on screen, and a synthetic window chrome floats above the stage — a terminal title bar, or a browser URL bar fed by the timeline's new nav track (main- frame navigations captured by the browser surface) with a deep link into the Playwright trace. The scrubber shows the acts (terminal/browser segments) and a tick per distributed trace; the trace table is timeline-aligned — click a row's timestamp to jump the player there, the row highlights as playback passes it, and the trace id still opens motel's waterfall. Tabs split the lenses: session / browser / terminal / source. film.mp4 remains the fallback (and the PR-media artifact) for runs without an anchored timeline.
trace.playwright.dev is HTTPS, so when the runs viewer is reached over plain HTTP (tailscale IP) the browser blocks its fetch of trace.zip as mixed content and the trace never loads. playwright-core ships the trace viewer as a static PWA — rebuild-viewer.ts now copies it to runs/trace-viewer and the run page links there same-origin, which also keeps traces viewable offline.
8a221c7 to
e49bdd1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The runs viewer plays a session live instead of (only) the baked film.mp4.
timeline.jsonby the browser surface) with a deep link into the Playwright trace.runs/trace-viewerat viewer build; trace links go there same-origin. trace.playwright.dev is HTTPS and browsers block its fetch of trace.zip from a plain-HTTP server (the tailscale-IP case) as mixed content.Terminal act:
Browser act — URL bar + Playwright deep link; highlighted row is the request at the playhead:
Stack