Skip to content

Remove the merge queue path from verify - #556

Merged
yansfil merged 1 commit into
mainfrom
ci/remove-merge-queue-path
Oct 6, 2026
Merged

yansfil merged 1 commit into
mainfrom
ci/remove-merge-queue-path

Conversation

@yansfil

@yansfil yansfil commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

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_group runs and their plan from merge_group.base_sha are gone.
Removed: the merge_group trigger, the push's Actions API lookup of a queue run and its actions: read permission and GH_TOKEN, the push base from the last passing push run, the cache key comparison (CACHE_KEYS), --queue-runs, the verified-by output and the verified-push branch of aggregate, and the docs and tests that described them.
scripts/ci-plan.py, its test and CONTRIBUTING.md were changed only by #500, #518 and #543, so they return to their state before #500; pr.yml, nightly.yml and docs/TESTING.md are edited by hand to keep #507 and #539.

Review

  • 판단해 주세요: nightly's call of verify with 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 of verify, median of 9 main runs). If that alert is not worth it, the call, workflow_call and the concurrency group change go together.
  • 조심해서 볼 파일: .github/workflows/pr.yml concurrency.group stays ${{ github.workflow }}-... for the call: verify's own runs keep the same group name as before, and nightly's call is nightly-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: read remains only on nightly's report job, which had it before.
  • 확인한 것: scripts/ci-plan.py and scripts/tests/test_ci_plan.py equal their state at the parent of Run verify on merge queue groups, planned from the group's base #500 except the added test_nightly_calls_verify_with_every_lane, which fails when workflow_call is removed from pr.yml; python3 -m unittest scripts/tests/test_ci_plan.py 30 pass; the policy lane's commands pass locally (unittest discover 129 tests, nightly-report.test.cjs 6, the structural checks).
  • 확인한 것: actionlint is clean on every workflow.
  • 확인한 것 (what the skip did while the queue was on): one main push run planned no lane, 37341893238: 2 jobs, 0.35 job-minutes; a full push run took 94.1 (macOS 25.3).
  • 확인하지 못한 것: this pull request changes .github/workflows/, so its own run plans every lane; nightly's verify call has not run yet (the first schedule after Skip main's lanes when the merge queue verified the commit #518 is 18:00 UTC).

@yansfil
yansfil force-pushed the ci/remove-merge-queue-path branch from 9b44829 to b818c15 Compare October 5, 2026 17:42
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
yansfil force-pushed the ci/remove-merge-queue-path branch from b818c15 to bd2d5ff Compare October 5, 2026 18:23
@yansfil
yansfil merged commit 2277e7a into main Oct 6, 2026
28 checks passed
@yansfil
yansfil deleted the ci/remove-merge-queue-path branch October 6, 2026 00:38
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