Repository navigation
Remove the merge queue path from verify - #556
Merged
Merged
Conversation
yansfil
force-pushed
the
ci/remove-merge-queue-path
branch
from
October 5, 2026 17:42
9b44829 to
b818c15
Compare
yansfil
added a commit
that referenced
this pull request
Oct 5, 2026
…selects it (#565) Refs #433 ## Summary #534 뒤로 desktop `browser.spec.ts`의 `area cycle native`가 자주 실패하던 것을 고칩니다(fix-forward). page를 보이기 전에 focus하던 순서를, host가 page를 보이고 core snapshot이 그 page를 고른 뒤에 한 번 focus하는 순서로 바꿨습니다. 제품 코드는 바뀌지 않았습니다. - 실패는 두 번째 이후 focus(828행 tab click 뒤, 873행 설정 sheet를 Escape로 닫은 뒤)에서만 났습니다. 첫 번째 focus 앞에는 shell 조작이 없어서 통과합니다. - 원인(읽기): 첫 cycle이 Page B를 고른 뒤라 tab click 시점의 `한글 브라우저` page는 숨겨져 있고, 그 page를 보이고 고르는 일은 click의 core 왕복이 끝나야 옵니다. sheet도 덮는 동안 page를 숨깁니다. #534의 `focusPage`는 그 사이에 한 번 focus합니다. - 숨겨진 page에 준 focus는 page가 보인 뒤 keyboard로 남지 않아, hold 확인이 5초 안에 참이 되지 않습니다(789행 실패). - 보인 뒤에도 core snapshot이 아직 그 page를 고르지 않았으면, page가 시작한 hold를 shell이 받지 않고 끝냅니다(`web/src/keyboard.ts`의 `focusedSurface(...)?.id !== input.id` 분기). 그래서 cycle이 그려지지 않습니다(831행 `[data-cycle=area]` 없음). host log에 `browser.cycle_start_refused`가 없는 것도 page가 hold를 시작했다는 것과 맞습니다. - #534 전에는 focus를 되풀이하고 250ms 동안 유지되는지 보는 loop가 이 두 경합을 가렸습니다. - `browser.spec.ts`: `shownAndSelected`(host가 page를 보이고, tab bar에서 그 display가 선택됨)를 기다린 뒤 `focusPage` 한 번, 그다음 기존 확인(page가 keyboard를 쥐고 shell이 받아들임)을 기다립니다. 새 retry, timeout, sleep, allow는 없습니다. - `fixture.ts` `focusPage` 설명과 `docs/BUILD.md`에 "page가 보인 뒤에 focus한다"는 전제를 적었습니다. ## Review - **판단해 주세요**: tab bar의 `aria-selected`를 core snapshot이 고른 것으로 읽었습니다. tab click은 `view_layout` 하나를 보내고 화면은 snapshot으로만 그려져(낙관적 선택 없음, `web/src/AreaTree.tsx` `focus`), 선택이 보이면 core가 고른 것입니다. - **조심해서 볼 파일**: `desktop/e2e/fixture.ts` `focusPage` - 숨겨진 page를 받으면 지금은 그대로 focus합니다. 그 자리에서 실패하게(`view.getVisible()`로 throw) 하는 것은 zoom과 close-policy 호출까지 바뀌어 이 급한 수정에서 뺐습니다. - **질문**: 없음. ## Evidence - **확인한 것**: `verify-web.sh desktop typecheck`, `desktop lint`(test 크기 검사 포함) 통과. 실패 log 3개(pr-534 queue run 37339468790, #556 run 37344689288 attempt 1, 2)를 읽어 실패 행(828 다음 789, 831, 873 다음 789)과 host event를 확인했습니다. - **확인하지 못한 것**: `@needs-focus` test는 운영자의 창과 keyboard를 가로채므로 로컬에서 돌리지 않았습니다. 이 PR의 CI desktop e2e lane 결과로만 확인합니다. 원인은 log와 코드로 읽은 것이고, 숨겨진 view에 준 focus가 보인 뒤 남지 않는다는 부분은 재현하지 않았습니다.
The merge queue is off, so a push to main plans every lane again and nothing plans a merge_group run. This removes the merge_group trigger and its plan from the group's base, the push's lookup of a queue run and the actions permission it needed, the push base from the last passing push run, the cache key comparison, and the verified-push output and check. scripts/ci-plan.py, its test and CONTRIBUTING.md return to their state before the queue; pr.yml, nightly.yml and docs/TESTING.md keep the changes made since for other reasons. Nightly's call of verify with every lane stays: a lane a push to main fails opens no issue, and the same failure in the call opens the nightly issue.
yansfil
force-pushed
the
ci/remove-merge-queue-path
branch
from
October 5, 2026 18:23
b818c15 to
bd2d5ff
Compare
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.
Summary
The merge queue is off (its median from a green pull request to main was 47.6 minutes, of which 12.6 were work), so this removes the code and text that existed only for it.
A push to main plans every lane again, as before the queue;
merge_groupruns and their plan frommerge_group.base_shaare gone.Removed: the
merge_grouptrigger, the push's Actions API lookup of a queue run and itsactions: readpermission andGH_TOKEN, the push base from the last passing push run, the cache key comparison (CACHE_KEYS),--queue-runs, theverified-byoutput and the verified-push branch ofaggregate, and the docs and tests that described them.scripts/ci-plan.py, its test andCONTRIBUTING.mdwere changed only by #500, #518 and #543, so they return to their state before #500;pr.yml,nightly.ymlanddocs/TESTING.mdare edited by hand to keep #507 and #539.Review
verifywith every lane (Skip main's lanes when the merge queue verified the commit #518) stays. A push to main runs every lane again, but a lane it fails opens no issue; the same failure in nightly's call opens or comments on the nightly issue through the report job, and a lane that breaks with no merge (a runner image, a toolchain, a service a test reaches) is found within a day. It costs about 94 job-minutes a day, 23 of them macOS (a full run ofverify, median of 9 main runs). If that alert is not worth it, the call,workflow_calland the concurrency group change go together..github/workflows/pr.ymlconcurrency.groupstays${{ github.workflow }}-...for the call:verify's own runs keep the same group name as before, and nightly's call isnightly-refs/heads/main, so it never takes a push run's pending place.Evidence
git grep -i 'merge queue\|merge_group\|verified-by\|CACHE_KEYS\|queue-runs'finds nothing outside the local harness folder;actions: readremains only on nightly's report job, which had it before.scripts/ci-plan.pyandscripts/tests/test_ci_plan.pyequal their state at the parent of Run verify on merge queue groups, planned from the group's base #500 except the addedtest_nightly_calls_verify_with_every_lane, which fails whenworkflow_callis removed frompr.yml;python3 -m unittest scripts/tests/test_ci_plan.py30 pass; the policy lane's commands pass locally (unittest discover129 tests,nightly-report.test.cjs6, the structural checks).actionlintis clean on every workflow..github/workflows/, so its own run plans every lane; nightly'sverifycall has not run yet (the first schedule after Skip main's lanes when the merge queue verified the commit #518 is 18:00 UTC).