You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Flaky test: area cycle native: page input previews one exact area, releases once and cancels #511
Error: expect(received).toBe(expected) // Object.is equality
Expected: true
Received: false
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
Fix the cause or delete the test by the expiry date; a flaky test is not left running. A longer timeout, more retries or a lower expectation does not end this issue. Each later flaky run adds a comment here.
The same spec passed on this pull request's previous head (1d05a15), which carries the same product change; #554 changes Agent tab closes and reopen only.
Error: the page keeps the keyboard and the shell admits it
the page keeps the keyboard and the shell admits it
expect(received).toBe(expected) // Object.is equality
Expected: true
Received: false
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
#534(desktop e2e의 page focus를 한 번만 주도록 바꾼 PR) 머지 뒤 이 test의 실패가 늘었습니다. pr-534 queue run 37339468790에서 2/2, #556 run 37344689288의 두 attempt에서 각각 2/2 실패했습니다. 789행 'the page keeps the keyboard and the shell admits it'도 함께 실패합니다. 회귀로 보고 #534 쪽에서 원인을 고칩니다.
Seen again on PR #563 (Overview layout, no change to area cycling): desktop e2e run 37350375473, both attempts failed at [data-cycle=area] not visible, then "the page keeps the keyboard and the shell admits it" false.
Update: this now fails on main too, both attempts, on 9749fcc (run 37348869063) and 0db27d0 (run 37352905893), with the same [data-cycle=area] not found. PR #563 failed it on all four attempts the same way, so it looks broken on main rather than flaky.
원인: area cycle native가 창을 setSize(1280, 800)으로 CI work area(1024 폭)보다 넓게 열었습니다. macOS는 그 크기를 두다가 test의 BrowserWindow.blur()가 창을 order out/back 할 때 1024로 줄였고, 그 직후 두 View area의 page slot이 rect를 잃어 page가 숨었습니다. blur로 취소된 hold의 page는 다시 보이지 않아 keyboard를 돌려받지 못했습니다(857행).
수정 전 반복(TEMP 증거 PR TEMP evidence run for #511 (do not merge) #620, 이 spec만 macOS runner 하나): 150회 중 16 실패. 실패마다 hold 시작 때 창이 1280 폭이었고, shell의 sync 기록은 blur 직후 모든 rect가 256 px 왼쪽으로 옮겨진 뒤 다음 frame에 slot rect가 없어지는 것을 보였습니다. 통과한 run은 hold 전에 이미 1024였습니다.
고정 재현: fitWindow로 연 뒤 hold 직전에 창을 native로 1280x800으로 만들면 6회 6 실패, 같은 assertion, 같은 모양(rect 1280 기하 -> 256 px 이동 -> slot 없음, 실패 뒤 창 폭 1024).
CSS 폭만 1280에서 1024로 좁히는 재현(zoom)은 6회 6 통과했습니다. slot이 사라지는 것은 macOS가 창 자체를 줄일 때입니다.
수정 후(fitWindow(app, WINDOW), 1024x640): 40회 40 통과, 다른 run에서 6회 6 통과.
함께 본 것: 창이 돌아온 뒤 shell의 DOM focus가 rail의 'This Mac' tile에 있고 그 tooltip이 열립니다. 통과한 45회 모두 같아 이 실패의 원인은 아닙니다. hold 전과 중에는 page slot에 있다가 test의 blur() 직후(창 복귀 전) 이미 rail에 있어, blur()의 order out/back에서 생깁니다. 실제 앱 전환에서도 생기는지는 확인하지 않았습니다.
Closing as fixed by #622 (merged as b3a1ba7).
The cause was the test, not the product: area cycle native opened its window at 1280x800, wider than a CI runner's 1024-point work area, and macOS clamped it when the test's own blur() ordered the window out and back in; the narrower body dropped the View areas, so the page the cancelled hold owed the keyboard to was hidden and could not take it back. The fixed geometry reproduced the failure 6 of 6 times (comment above), and the fix (every desktop spec sizes its window through fitWindow, enforced by hide-e2e/window-size-through-fixture) passed 40 of 40.
On main, the first run with the fix (verify 37431718352) passed this test on its first attempt with no flaky test reported; the flaky report reopens this if it comes back.
Activity
github-actions commentedon Oct 5, 2026
Flaky again on macOS: https://github.com/modakbul-gongbang/hide/actions/runs/37305523083 (refs/heads/gh-readonly-queue/main/pr-504-356c5db0ddce32eadd4021e5035fd89ce44f340c, commit 6e917c4).
github-actions commentedon Oct 5, 2026
Flaky again on macOS: https://github.com/modakbul-gongbang/hide/actions/runs/37316367749 (pull request #529, commit c5a4cc2).
github-actions commentedon Oct 5, 2026
Flaky again on macOS: https://github.com/modakbul-gongbang/hide/actions/runs/37323299371 (refs/heads/gh-readonly-queue/main/pr-525-65db2aa8305ee6f93326bfd57c233149910e1841, commit c66bdb0).
github-actions commentedon Oct 5, 2026
Flaky again on macOS: https://github.com/modakbul-gongbang/hide/actions/runs/37333045200 (refs/heads/gh-readonly-queue/main/pr-520-d98a4e86911ce54198d1a9fcf60c5b1b047ad2d7, commit 87466ac).
github-actions commentedon Oct 5, 2026
Flaky again on macOS: https://github.com/modakbul-gongbang/hide/actions/runs/37337729296 (refs/heads/gh-readonly-queue/main/pr-522-c29d91cf054ab62642c1062c668f81d4fe65631a, commit 6ddd0de).
yansfil commentedon Oct 5, 2026
Failed both attempts on macOS (lane failed, not filed as flaky): https://github.com/modakbul-gongbang/hide/actions/runs/37344296551/job/111879838826 (pull request #554, commit 5a91961, main merged at 9bb7a76).
browser.spec.ts:789"the page keeps the keyboard and the shell admits it",expect.polltimed out after 5000 ms (received false).browser.spec.ts:831[data-cycle=area]never became visible after the nativecontrol down,tab.The same spec passed on this pull request's previous head (1d05a15), which carries the same product change; #554 changes Agent tab closes and reopen only.
yansfil commentedon Oct 5, 2026
다시 실패했습니다. 이번에는 재시도까지 둘 다 실패했습니다. 위치는 PR #556의 desktop e2e(macOS)로,
browser.spec.ts:753에서toBeVisibleelement not found입니다. #556은 CI 계획만 바꾸는 PR이라 이 test와 무관합니다. 첫 시도 로그는 run 37344689288의 artifact에 있습니다: https://github.com/modakbul-gongbang/hide/actions/runs/37344689288github-actions commentedon Oct 5, 2026
Flaky again on macOS: https://github.com/modakbul-gongbang/hide/actions/runs/37345860417 (pull request #559, commit 208ecdd).
yansfil commentedon Oct 5, 2026
#534(desktop e2e의 page focus를 한 번만 주도록 바꾼 PR) 머지 뒤 이 test의 실패가 늘었습니다. pr-534 queue run 37339468790에서 2/2, #556 run 37344689288의 두 attempt에서 각각 2/2 실패했습니다. 789행 'the page keeps the keyboard and the shell admits it'도 함께 실패합니다. 회귀로 보고 #534 쪽에서 원인을 고칩니다.
yansfil commentedon Oct 5, 2026
Seen again on PR #563 (Overview layout, no change to area cycling): desktop e2e run 37350375473, both attempts failed at
[data-cycle=area]not visible, then "the page keeps the keyboard and the shell admits it" false.yansfil commentedon Oct 5, 2026
Update: this now fails on main too, both attempts, on 9749fcc (run 37348869063) and 0db27d0 (run 37352905893), with the same
[data-cycle=area]not found. PR #563 failed it on all four attempts the same way, so it looks broken on main rather than flaky.github-actions commentedon Oct 5, 2026
Flaky again on macOS: https://github.com/modakbul-gongbang/hide/actions/runs/37357410267 (pull request #573, commit bb0b4a9).
github-actions commentedon Oct 5, 2026
Flaky again on macOS: https://github.com/modakbul-gongbang/hide/actions/runs/37360697791 (pull request #571, commit e8f2d7e).
github-actions commentedon Oct 5, 2026
Flaky again on macOS: https://github.com/modakbul-gongbang/hide/actions/runs/37372899600 (pull request #454, commit fef0231).
github-actions commentedon Oct 6, 2026
Flaky again on macOS: https://github.com/modakbul-gongbang/hide/actions/runs/37395187450 (pull request #566, commit bc052c4).
Pay a blur-cancelled page's keyboard after the window's own return (#586
github-actions commentedon Oct 6, 2026
Flaky again on macOS: https://github.com/modakbul-gongbang/hide/actions/runs/37403778186 (refs/heads/main, commit 0f3739a).
github-actions commentedon Oct 6, 2026
Flaky again on macOS: https://github.com/modakbul-gongbang/hide/actions/runs/37405118763 (pull request #597, commit cc59168).
Log the focus events around a blur-cancelled page's keyboard return (#…
Log page focus, page visibility and window occlusion around a blur-ca…
github-actions commentedon Oct 6, 2026
Flaky again on macOS: https://github.com/modakbul-gongbang/hide/actions/runs/37425096687 (refs/heads/main, commit 532f062).
yansfil commentedon Oct 6, 2026
원인과 증거 정리입니다. 수정은 #622입니다.
area cycle native가 창을setSize(1280, 800)으로 CI work area(1024 폭)보다 넓게 열었습니다. macOS는 그 크기를 두다가 test의BrowserWindow.blur()가 창을 order out/back 할 때 1024로 줄였고, 그 직후 두 View area의 page slot이 rect를 잃어 page가 숨었습니다. blur로 취소된 hold의 page는 다시 보이지 않아 keyboard를 돌려받지 못했습니다(857행).fitWindow로 연 뒤 hold 직전에 창을 native로 1280x800으로 만들면 6회 6 실패, 같은 assertion, 같은 모양(rect 1280 기하 -> 256 px 이동 -> slot 없음, 실패 뒤 창 폭 1024).fitWindow(app, WINDOW), 1024x640): 40회 40 통과, 다른 run에서 6회 6 통과.blur()직후(창 복귀 전) 이미 rail에 있어,blur()의 order out/back에서 생깁니다. 실제 앱 전환에서도 생기는지는 확인하지 않았습니다.Size every desktop e2e window inside the screen's work area through t…
yansfil commentedon Oct 6, 2026
Closing as fixed by #622 (merged as b3a1ba7).
The cause was the test, not the product:
area cycle nativeopened its window at 1280x800, wider than a CI runner's 1024-point work area, and macOS clamped it when the test's ownblur()ordered the window out and back in; the narrower body dropped the View areas, so the page the cancelled hold owed the keyboard to was hidden and could not take it back. The fixed geometry reproduced the failure 6 of 6 times (comment above), and the fix (every desktop spec sizes its window throughfitWindow, enforced byhide-e2e/window-size-through-fixture) passed 40 of 40.On main, the first run with the fix (verify 37431718352) passed this test on its first attempt with no flaky test reported; the flaky report reopens this if it comes back.
test: start each e2e agent only once the core has started the one bef…