You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
e2e: attach mawsd and pty-host logs to a failed scene's report #784
When an Electron e2e scene fails, the fixture attaches the engine host's log and the main process's stdout and stderr to the Playwright report. It does not attach the logs of the machine daemon (mawsd) or the pty host. Their processes write to the scene's temporary profile, which is deleted with the scene; on the Mac mini's guest it goes with the guest clone too. So whatever those processes logged is lost whenever a scene fails.
Example: e2e/scm.spec.ts:567 "without gh the row offers the install" failed in the guest only, in batch 5's union run. The likely cause is the daemon's login-shell PATH capture falling back to its own process.env (src/shared/host/shell-env.ts:116-125, which logs "[host] shell environment capture failed"). That line would be in mawsd's log, which nothing keeps, so the cause can't be confirmed.
Work
In the e2e fixture that attaches engine-host-.log, also attach the machine daemon's and the pty host's logs when a scene fails, under the same naming. The manual gate keeps the reports directory, so nothing changes on the CI side.
Found during: UX wave batch 5's Mac run (2026-11-19); CI-opt pointed to the fixture as the place to keep them.
Activity
SSFSKIM commentedon Nov 20, 2026
[board] in-progress: batch 7, group D
e2e: keep mawsd's and the pty host's logs with a launch's evidence (#784
SSFSKIM commentedon Nov 20, 2026
[board] in-review: batch 7, PR #804