Repository navigation
e2e: two scenes that failed inside e2e:default on the Mac mini now settle on what the app states - #641
Merged
Conversation
…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)
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This was referenced Nov 13, 2026
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.
What this is
Two scenes that are already on master failed in an
e2e:defaultrun 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 indocs/tech-debt-tracker.mdthat 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 whenscm.statusanswers, andScmService.statusawaits 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.settledBoxesine2e/agent-tools.spec.tshad 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'ssizePaneread 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 (MainAreasets 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:sizePanewaits, 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
defaultwhen they landed, so their specs had run on GitHub's hosted Macs only and never on the Mac mini until adefaultwith 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:settings26 passed, 1 failed;e2e:lane-a17 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(master871b463d8plus this branch's two commits; master has not moved, so nothing was merged in):static,unit,probes): run 43518050423, green (static, static-local, probes, unit 1/4 to 4/4).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-a17 passed,agents27 passed,settings27 passed; none flaky.e2e:settingsin the guest lane, run 43518053441: 27 passed, the repaired scene among them;e2e:agentsin the guest lane, run 43518421656: 27 passed;e2e:lane-aon the host with--lane no-hosted(the group is not on the guest's list; under--lane vmits 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 (runnerci-kit-mac-mini): 547 scenes, 244 passed, 303 skipped, none failed, none on a retry;e2e/lane-a.spec.ts:570and the settings scene (nowe2e/settings.spec.ts:408) both passed in it.tsc -p tsconfig.e2e.json, eslint on the three specs andnode --test .github/scripts/*.test.mjs scripts/*.test.mjspass; 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) anddefault, which selectslane-a.spec.tsandsettings.spec.tsbeside that set.Residue
docs/tech-debt-tracker.mdgains 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)