Skip to content

render-host e2e: read main's stderr from its spawn, so the packaged binary's early ready line is not missed - #426

Merged
SSFSKIM merged 1 commit into
masterfrom
o5-render-host-stderr-race
Nov 1, 2026
Merged

SSFSKIM merged 1 commit into
masterfrom
o5-render-host-stderr-race

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Nov 1, 2026 •

Copy link
Copy Markdown
Owner

O5's M3 scene (e2e/render-host.spec.ts, the bare render host against a fake mawsd) attached its stderr listener only after _electron.launch resolved. Under the packaged binary, whose ready no loader holds, the render host prints [render-host] ready: serving <profile> before then, so the listener never saw it: e2e/render-host.spec.ts:144 failed every time under --gates packaged. Both reds are in run 41266007870: attempt 1 and attempt 2 (the rerun), each with Received string: "". The packaged job was skipped on the landing runs of #418 and O4, so master has carried this since 3494676.

The fix: the scene launches the binary through a small wrapper that execs it with its stderr teed into a file, so main's stderr is read from its first byte. That covers both the packaged binary that MAWS_E2E_EXECUTABLE names and the checkout's Electron, launched with Playwright's loader and the entry. The pid stays the binary's, and Playwright still reads the inspector line from stderr. The scene's assertions are unchanged.

This is split out of p5-o5-m6's 7130044 (O5 M6 fix wave 2). Landing 2 merges it from master as a no-op.

Validation Evidence

  • The gate on this head (--gates static,packaged --class1a pool --runner macos --peer none): ci-gate: run 41269375486 success (attempt 1, no reruns; the run tree 160d78f12 is this head's). Jobs: static, packaged 1/2, packaged 2/2. the scene (now e2e/render-host.spec.ts:168, formerly :144) passed on packaged 2/2 (119 passed, 0 failed), where both attempts of 41266007870 failed it.

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)

…, so the packaged binary's early ready line is not missed

The scene attached its stderr listener once _electron.launch resolved; the packaged binary, whose ready no loader holds,
says it serves the profile before then, so e2e/render-host.spec.ts:144 failed every time under --gates packaged
(run 41266007870, attempts 1 and 2). P5 O5 M3's scene; split from p5-o5-m6's 7130044.

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-11-01T03:56:46.167364Z
We couldn’t complete this review. Comment @codex review to try again.
0dc8553 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@SSFSKIM
SSFSKIM merged commit c2ddf0a into master Nov 1, 2026
SSFSKIM added a commit that referenced this pull request Nov 1, 2026
…(master's 14 plus one), the manifest regenerated once against master's; the cross-build scene (downgrade, render) retired

schema.ts MACHINE_EVENTS and coverage.test.ts take both sides; render-host.spec.ts is master's (#426, the same hunk as
7130044's). (downgrade, render) could only skip: D11 refuses every pre-render peer's app, and every later peer renders.

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
SSFSKIM added a commit that referenced this pull request Nov 1, 2026
… set holds packaged where it takes a hosted Mac); P5 Decision Log 186 (O5's render-host scene fixed under the packaged app, M7 promotes offscreen tab views, landing 2 is M5 to M7, the browser step cut to a new child O17); a tracker row for the hosted-slot cap; the wave 2 ledger gains O5 M6's names

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
SSFSKIM added a commit that referenced this pull request Nov 1, 2026
…425 and #426) into p5-o5-l2

gate.yml: the packaged job's header takes #425's text with this branch's packaged unit check named in shard 1's list.

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant