Skip to content

e2e: the F6 scene settles on the strip's reveal before it sets the offset (ticket 729) - #818

Merged
SSFSKIM merged 2 commits into
masterfrom
arch/729-f6-strip
Nov 21, 2026
Merged

SSFSKIM merged 2 commits into
masterfrom
arch/729-f6-strip

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Nov 21, 2026 •

Copy link
Copy Markdown
Owner

Closes #729.

e2e/ux2-shell.spec.ts, "Acceptance: overflowing tabs remain reachable and F6 visits cards and surface content", scene only, two places. No product code changes; no wait on time.

1. The strip's offset (the ticket's red). Opening "Background tasks" opens the side column and narrows the tab strip once; the strip's ResizeObserver delivers that resize a frame or more later and scrolls the tab in front (the strip's last) back into view. The scene read the overflow and set its offset before that reveal, so the reveal put the strip back at its end: 1172.5 against the set 1133, red at "the strip is scrolled, short of its end" (5 of 7 whole e2e:default runs on the mini's host on 2026-11-20), and once at "putting the tab in view in front moved nothing" when the reveal came later still. Before reading the overflow, the scene now waits on the state that reveal leaves: the strip narrower than before the column opened, and at its end. Narrowing alone never changes scrollLeft, so the poll tells the two states apart. The set and every later poll are unchanged and exact. The ticket body's retried set step is left out on purpose: with the one pending reveal consumed there is nothing for a retry to absorb, and a retry would override a product move the scene exists to catch.

2. The second F6 stop (found by this change's own proof run). The scene alone, twenty times on the mini's host, was red 4 of 20 at the poll after openSurface(page, 'Files'), composer.focus() and region.focusNext: the keyboard was in the sidebar's search, not in the panel. Showing a surface hands it the keyboard (SurfaceRow's focusShown: the F6 stop two frames later, and Files' tree once its listing answers), until the person's next key or pointer press. A focus() is neither, so a late hand-over moved the keyboard back into the column, and F6 went on from the panel's content, the last stop, round to the sidebar. The scene now clicks the composer, which is the person's press and ends the hand-over, and checks the composer has the keyboard. The F6 assertion is unchanged. A person does not meet this by pointer or key; not checked: whether a focus moved by an app-menu command alone can be pulled back the same way.

Evidence: class 1a on the head; on the mini's host (CI-opt's queue) the scene alone twenty times, with the same line on master as the control, and three whole e2e:default runs. The ticket's acceptance asked for --repeat-each=5 in the whole order; that repeats every test of the group (about 140 min against a 55 min bound), so three separate whole runs stand in for it: the unfixed scene passed about 2 whole runs in 7. Results in the landing comment.

Sminos-Session: master-landing-architect#37052769 (MAWS on macbook)

…efore it sets the offset (ticket 729)

Opening Background tasks narrows the title bar's strip once; the strip's
ResizeObserver delivers that resize a frame or more later and scrolls the
tab in front (Diagnostics, the last) to the strip's end. The scene read the
overflow and set the offset before that delivery, so the reveal undid the
offset: red at 'short of its end' when it landed before the first read, at
'moved nothing' when it landed after that poll passed. The scene now waits
for the state the reveal leaves (the strip narrower than before and at its
end), which the strip cannot show before the reveal, then reads, sets and
polls as before; no wait on time, and the later polls still fail on any
other move of the strip.

Sminos-Session: master-landing-architect#37052769 (MAWS on macbook)
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 21, 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-21T03:09:52.734459Z ef8e064 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.

…omposer by a click, which ends the Files show's hand-over (ticket 729)

Showing a surface from its icon hands the keyboard to it (SurfaceRow's
focusShown: F6's stop two frames later, and Files' tree once its listing
answers) until the person's next key or pointer press. The scene's
composer.focus() is neither, so a hand-over landing after it moved the
keyboard back into the column; F6 from the column's content, the last
stop, wraps to the sidebar's first control, the search field the four
reds show. A click is the person's press: it ends the hand-over, and the
scene checks the composer has the keyboard before F6.

Sminos-Session: master-landing-architect#37052769 (MAWS on macbook)
@SSFSKIM
SSFSKIM merged commit 7789b13 into master Nov 21, 2026
@SSFSKIM

SSFSKIM commented Nov 21, 2026

Copy link
Copy Markdown
Owner Author

Landed master-first as 7789b13 (merge commit on bf4ea80; its tree 159b6f845 equals the head 9d7d51c's).

Evidence, all on that tree:

  • class 1a: run 44861608809, green (two earlier runs on the same head were red on unit flakes the tree does not reach: Composer.test.tsx:1189 and test/endpoint/org-recovery.local.test.ts in 44860728530; src/pty-host/table.test.ts:356 in 44859597765 on the first head).
  • the scene alone, twenty times on the mini's host (CI-opt's queue): 20 passed of 20 at 9d7d51c. The control on master bf4ea80: 6 passed, 14 failed (11 at the strip's offset, 3 at the second F6 stop). The first head ef8e064, with the strip's fix alone: 16 passed, 4 failed, all four at the second F6 stop.
  • one whole e2e:default on the mini's host at 9d7d51c: 291 passed, 0 failed, the scene green as test 622 of the order.

The ticket's acceptance asked for --repeat-each=5 in the whole order, which repeats every test of the group (about 140 min against a 55 min bound); the alone form proved a valid measure (it is red on master two times in three), so twenty alone and one whole run stand in for it.

Sminos-Session: master-landing-architect#37052769 (MAWS on macbook)

@SSFSKIM
SSFSKIM deleted the arch/729-f6-strip branch November 21, 2026 04:07
SSFSKIM added a commit that referenced this pull request Nov 21, 2026
…lake

Sminos-Session: master-landing-architect#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.

e2e: the F6 scene's strip offset can be undone by a late reveal of the tab in front (ux2-shell.spec.ts, one red under load)

1 participant