Skip to content

e2e: every comment-mode pick shows its overlay with the pointer before it clicks (tracker P4 (W)) - #326

Merged
SSFSKIM merged 1 commit into
masterfrom
e2e-pick-overlay-before-click
Oct 29, 2026
Merged

SSFSKIM merged 1 commit into
masterfrom
e2e-pick-overlay-before-click

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Oct 29, 2026

Copy link
Copy Markdown
Owner

What failed

The deliverables comment-mode case (e2e/deliverables.spec.ts, the test at :954 now) failed on hosted run 40609072336 and was a flaky pass in 40760525466. Both times the failing step was the main-tab pick, not the first overlay move the tracker row names: after Move to tab, the case clicked straight into the frame that had just loaded in the tab, and no comment card opened (expect(tabCard).toHaveAttribute('data-anchor-locator', '#hero'), element not found; :1059 at b97562c, :1060 at 9e640ff).

That is the bridge case's failure before 9b64263: Chromium routes input into a frame of another process only once the window's compositor has placed it, so in a frame's first moments a click can still land in the app's document, on the iframe element, and the frame hears nothing (run 39353273976: 16 of 63 first moves). The pick-on message can also be overtaken by a move (L64).

The change

pointInFrame (e2e/support/maws-tools.ts) is the bridge case's loop, now shared: it moves the pointer a pixel back and forth until the frame's pick overlay is up, so the click that follows comes after a move the frame heard. Every comment-mode pick goes through it:

  • deliverables comment mode: the panel pick (it moved once and expected the overlay at once), the main-tab pick (it clicked with no move: the observed failure), and the footer pick in the Notes frame (also clicked with no move);
  • the deliverables bridge case (its inline loop, replaced by the helper);
  • e2e/p1-live.spec.ts pickTitle (the panel pick's shape).

Test-only; no product file changes.

Runs

e2e:deliverables on the hosted Mac lane, head 1e1ca59, three runs, each 12 passed with no flaky: line: 40804429729, 40805668286, 40806548701.

Class 1a (static, unit, probes on the pool): green on 1e1ca59 in 40808048984. The first attempt, 40807574223, was red on one unit case this change cannot reach: src/main/org/org-session.test.ts › M3 › "a focus whose window is gone by the time Touch ID would ask asks nothing, and the next focus asks", its teardown failing with ENOTEMPTY: directory not empty, rmdir /tmp/maws-org-session-…/org.

e2e/p1-live.spec.ts was not run: it is a paid live sitting (MAWS_P1_LIVE=1, a real engine on the relay) and no gate group runs it; its change is the same helper call, and the e2e typecheck covers it.

There is no failing-first run: the failure is a timing race in input routing, seen in the two hosted runs above, and the three green runs show only that the loop does no harm. The bridge case has run the same loop since 9b64263.

Review

doperpowers reviewer-low on 816da78..1e1ca59: no findings.

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

…e it clicks, so the click is routed into the frame

The deliverables comment-mode case clicked into the artifact's main tab, a frame just loaded there, with no move
first; in hosted runs 40609072336 and 40760525466 (a flaky pass) that click reached the app's document and no card
opened (deliverables.spec.ts:1059, the tab card's anchor never found), as the bridge case's click had before
9b64263. Its panel pick moved once and expected the overlay at once, and its footer pick clicked with no move;
p1-live's pickTitle has the panel pick's shape. Each now goes through pointInFrame (e2e/support/maws-tools.ts): the
pointer moved a pixel back and forth until the frame's pick overlay is up, the bridge case's loop, which uses it too.

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

chatgpt-codex-connector Bot commented Oct 29, 2026 •

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 ✅ Completed 2026-10-29T02:48:36.556179Z 1e1ca59 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.

@SSFSKIM
SSFSKIM merged commit bec3ed4 into master Oct 29, 2026
SSFSKIM added a commit that referenced this pull request Oct 29, 2026
…c lever

Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
SSFSKIM added a commit that referenced this pull request Oct 29, 2026
…ly from a frame drawn after its staging, and asks again when the compositor refuses a copy) and PR #326 (comment-mode picks move until the frame hears them); tracker rows P4 (W) and P4 (presentations, export) closed, the hosted flake row's signature (5) with them

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
SSFSKIM added a commit that referenced this pull request Oct 29, 2026
…rds at 3d1f3ff) into p5-o3-c at M6

Conflicts, each resolved so both sides hold:
- src/main/index.ts: M4's side. O9's lane A block sat in the stretch of startMain that M4 moved into startSpine (the
  index, attention and the index source it reads are the spine root's now), so it and its three imports leave main's
  root here; the fold that follows composes lane A in startSpine (O3-C D20, O3 Decision Log 13). At this commit lane A
  is not composed.
- src/main/attention/notifier.ts: both comments; the notifier reads through the view (R1) and keeps lane A's in-app-only
  rule (O9 M6, Q5).
- eslint.config.js: M3's narrowed MACHINE_BOUND (and its tests' list) gains lane-a while it is under src/main/.

Beyond the conflicts: lane A's imports of paths M3 moved are re-pointed (atomic-write to @shared/fs, git's runner to
src/services/git/, the two value imports marked as rule B's exception until the fold moves lane A); O9's new notifier
case drives the fake view rather than a read model writer.

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