Skip to content

e2e: two scenes that failed inside e2e:default on the Mac mini now settle on what the app states - #641

Merged
SSFSKIM merged 2 commits into
masterfrom
ux-wave/scene-repairs
Nov 13, 2026
Merged

SSFSKIM merged 2 commits into
masterfrom
ux-wave/scene-repairs

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Nov 13, 2026

Copy link
Copy Markdown
Owner

What this is

Two scenes that are already on master failed in an e2e:default run on the Mac mini (run 43488253458, on the UX wave's linked-file branch: 548 scenes, 243 passed, 303 skipped, 2 failed, no retry). Neither scene belongs to that landing: one came with the side column landing (#637), the other with the settings landing (#635). This pull request repairs the scenes so that the linked-file landing's evidence stays its own. No product code changes: three spec files, and one row in docs/tech-debt-tracker.md that the P5 architect asked to ride here.

The two failures and their causes

  • e2e/lane-a.spec.ts:570, "and the card above it has not moved" (y 372 expected, 408 received). The scene read the Connectors card's box once two reads 250 ms apart agreed. The Environment card's pull-request row is drawn only when scm.status answers, and ScmService.status awaits gh's probe even for a folder that is not trusted. When the probe is slow the row lands after the read and pushes the card below it down by one row (28 px row + 8 px gap = 36 px). Reproduced on a build VM under xvfb with a stub gh held until just after the read: the original scene fails with the same 372 → 408. Repair: the scene waits for the Environment card's pull-request row to read "Trust this folder to see PR state" (the row's words check trust before gh's state, so they are the same on a machine without gh), then reads the box. settledBoxes in e2e/agent-tools.spec.ts had the same time-based settle and now waits for the card's heading to state git's answer for a folder that is no repository.
  • e2e/settings.spec.ts:387, "nothing scrolls sideways" (4 px). The page is sound at the width the scene means to test. The scene's sizePane read the pane's width as soon as the window had its new size, but the split's left column follows the window one render later (MainArea sets it in pixels from a ResizeObserver's width). The read was stale, the next resize was computed from it, and the narrow check ran in a pane of about 272 px instead of about 330 (the failing runs' screenshot for that step is 784 px wide). Repair: sizePane waits, before it reads and after it resizes, until the two panes are even again, which is the app's rule for a new split. The assertion is unchanged. A failure of it now names each element that reaches past the body's content box by tag, test id, class and widths; it reads no text and no other attribute, since a row may draw a machine's own values.

Why they were green in their groups and red in default

Each scene settled by time or read too early, and both belong to groups that were listed beside default when they landed, so their specs had run on GitHub's hosted Macs only and never on the Mac mini until a default with fewer groups beside it selected them. The settings scene is not specific to the default invocation: a control run of its own group on the Mac mini failed the same way (run 43507479208: e2e:settings 26 passed, 1 failed; e2e:lane-a 17 passed), while the same groups pass on hosted Macs. The P5 architect has since ruled on this gap. R1: a landing whose diff adds or edits a spec, or a file only specs import, runs each group that lists it once on the Mac mini as well as where the group usually runs. R2: a scene settles on a state the app shows, never on two reads agreeing, a fixed sleep, or a read straight after a resize or layout change. This pull request is the first to follow both.

Verification

All on 8887113a6ff6d8a08ce4f2295ff495c3103808af (master 871b463d8 plus this branch's two commits; master has not moved, so nothing was merged in):

  • Class 1a (static,unit,probes): run 43518050423, green (static, static-local, probes, unit 1/4 to 4/4).
  • macOS-only unit tests (unit:darwin --affected): run 43518112549, green.
  • e2e:lane-a, e2e:agents, e2e:settings, each under its own invocation on hosted Macs: run 43518168366, green: lane-a 17 passed, agents 27 passed, settings 27 passed; none flaky.
  • On the Mac mini, each group under its own invocation (rule R1, above): e2e:settings in the guest lane, run 43518053441: 27 passed, the repaired scene among them; e2e:agents in the guest lane, run 43518421656: 27 passed; e2e:lane-a on the host with --lane no-hosted (the group is not on the guest's list; under --lane vm its job in run 43518053441 was placed on a hosted Mac and succeeded there): run 43520169288: 17 passed, the repaired scene among them.
  • e2e:default --default-beside code,deliverables,remote (the same set beside it as the failing run), on the Mac mini's host: run 43518458215, green on the host (runner ci-kit-mac-mini): 547 scenes, 244 passed, 303 skipped, none failed, none on a retry; e2e/lane-a.spec.ts:570 and the settings scene (now e2e/settings.spec.ts:408) both passed in it.
  • On a build VM (Linux, xvfb): tsc -p tsconfig.e2e.json, eslint on the three specs and node --test .github/scripts/*.test.mjs scripts/*.test.mjs pass; the repaired lane A scene passes with gh delayed 10 s; the settings scene's body completes with a 330 px pane and nothing past the body.

By the spec-only reading of the landing rule, the groups that count are those whose scripts list a changed spec (lane-a, agents, settings) and default, which selects lane-a.spec.ts and settings.spec.ts beside that set.

Residue

  • Settings scrolls sideways in a pane about 270 px wide (the Gateway segment keeps its labels' width) #640: at a pane of about 270 px (reachable: the window's minimum is 600 px) the Settings page does scroll sideways, because the Gateway section's default-route segment keeps its labels' width. It is a product defect of its own, registered with its failing-first test, and not fixed here.
  • Not established: which element produced the 4 px on the Mac (the failure's new message will name it if it recurs), and why gh's probe was slower inside the long run than in the scene's own group.
  • docs/tech-debt-tracker.md gains one row, unrelated to the scenes: the wire registry's declaration is close to the compiler's serialization limit (TS7056), with the measurement, the candidate fix and the rule until then.

Closes #639

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)

…s serialization limit (TS7056), U4a's measurement, the candidate fix and the interim rule

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
lane-a.spec (the card column scene): the cards above are read once the
Environment card's pull-request row has answered, instead of once two reads
250 ms apart agree. The row is drawn only when scm.status answers, and that
answer waits for gh's probe even for an untrusted folder, so on a machine
where `gh auth status` is slow the row could land after the boxes were read
and move the Connectors card 36 px (one row) down. Reproduced on a Linux VM
by holding the gh probe open until after the read: 372 to 408, as in the
failing run.

agent-tools.spec (`settledBoxes`): the same time-based settle, replaced the
same way: the Environment card's git read has answered (session A's
directory is no repository, so no push or pull-request row follows).

settings.spec (the regrouped page): `sizePane` read the pane before the
split had followed the window (MainArea sets the left column in pixels
from a ResizeObserver's width, a render after the window), so the window
it computed for "about 330 px" could leave the pane at about 270 px. Each
read now waits until the two panes are even again. The sideways check's
failure names each element reaching past the body's content box, by tag,
test id and class with its widths, and nothing else.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-13T22:53:55.934745Z 8887113 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.

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.

e2e: two scenes of landed work fail inside e2e:default on the Mac lane's desktop (lane A card column, settings at 330 px)

1 participant