e2e: playwright's video/screencast never covers the ELECTRON surface — the config promises a full visual record a drive does not keep (0 videos, 11 trace frames per run) #687
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#687
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The gap
app/playwright.config.ts:73-81states the intent plainly:It does not hold for the surface that drives almost the whole journey.
Playwright's
video/screenshot/screencast machinery only coversBrowserContexts Playwright itself creates. The rehearsal journeys drive anElectron application (
ElectronApplication.waitForEvent('window'),app/tests/e2e/fixtures/ceremony.ts:243) plus CDP-attached pages, and neitheris inside that net. The settings are not wrong, they are simply inert here —
and nothing says so.
Measured, two drives, both at the current default (no
OC_E2E_CAPTURE)20260823T030519Z20260822T160431ZEleven frames for a nine-minute, 26-leg run. Those eleven belong to the ONE
throwaway Chromium the
branded-loginleg launches — the onlyPlaywright-created context in the journey. Every Electron leg contributes
nothing.
So the actual visual record of a drive is exactly the deliberate
page.screenshot()calls someone remembered to write, plus Playwright'send-of-test frames. Nothing else. Per-leg coverage on the droplet journey today:
connect→finish, the wizard + carrier): no frames atall, bar one incidental end-of-test capture of the hand-off screen.
signed-in.png(17),login.png(22),branded-chrome.png(24). Legs 18–21 and 23(
co-host,deploy-files,files-healthy,door,oidc-admin) have none.Why this is worth fixing rather than documenting
This is the same class of fault as #658, and #658 is the cost estimate.
That leg was red for two months with no frame of the surface it was
complaining about — the screenshot was the function's last statement, so no
red ever produced one. The config looked like a safety net underneath that
mistake. There was no net. The first
branded-chrome.pngin this project'shistory was produced yesterday, by
bb9c700, by hand.Sibling: #681 (the drive harness doesn't capture the broker's log). Same
shape — evidence we believed we had.
What a fix could look like (open — the ticket does not rule)
page.context().newCDPSession(page)already exists in
ceremony.tsfor the WebAuthn virtual authenticator;Page.startScreencastwould give real footage. Cost: frame handling + disk.page.screenshot()on a timer for the life of the drive — muchcheaper, no CDP, gives a flip-book rather than video.
runRecordedLeg/driveLegs— one capture per leg,automatic, so a new leg cannot be born frameless and the #658 shape cannot
recur. Probably the highest value per line changed.
make the config say so rather than implying a record it does not keep — the
honest-machinery rule.
(3) and (4) are not exclusive and are the cheap pair.
Acceptance
only the legs whose authors remembered to ask.
OC_E2E_CAPTURE=0still means "don't keep footage".Found while auditing what the phase-2 proving drive (#683) actually captured,
after #658 closed. Filed by agent under ADR 0174.
swarm-claim host=elitebook-distributed-server-03 run=9104
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #687 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope