Repository navigation
Conversation
Throwaway CI control for with-hide/hide-private#476, #187, #140, #534 and #518 on main as it stands: the five flaky tests only, each registered 20 times, no retry. Closed without merging once the run ends.
Contributor
Author
|
측정을 마쳐 닫습니다. main 그대로도 Linux 반복 100/100 통과, 결과는 #2187 Evidence에 있습니다. |
HyunjunJeon
pushed a commit
to HyunjunJeon/hide
that referenced
this pull request
Nov 9, 2026
…de#2187) Closes with-hide/hide-private#476 Closes with-hide/hide-private#187 Closes with-hide/hide-private#140 Closes with-hide/hide-private#534 Related: with-hide/hide-private#518 (원인 미확정, 아래 Review), 반복 측정용 임시 PR #2188과 with-hide#2189 ## Summary 제품 버그였습니다. 운영자 화면에서도 같은 순서가 오면 생깁니다 (새 탭을 만든 직후 분할을 눌러도 아무 일도 일어나지 않음). 코어의 엔진은 새 탭을 목록에 올린 뒤에 답하므로, 그 목록이 답보다 먼저 코어에 닿을 수 있습니다. 그러면 답은 키보드를 새 pane으로 옮기는데 보이는 탭은 옛 탭에 남고, 뒤에 와서 바로잡아 줄 세션도 없어서, 분할이 "보이는 탭에 포커스된 pane 없음"으로 아무것도 보내지 못했습니다. 답이 키보드를 옮길 때 보이는 탭도 같은 걸음에 옮기도록 고쳤습니다 (`settle_selection_projection`, 다른 모든 보이는 탭 쓰기가 이미 하는 일). 나머지 e2e 세 건은 첫 스냅숏을 읽던 곳을 상태가 맞을 때까지 기다리게 하고, 한 건은 실패 덤프를 붙였습니다. ## Review - **판단해 주세요**: #187은 이 PR에서 코드를 바꾸지 않았습니다. 실패한 CI 로그의 순서(세션이 닫힘을 먼저 확정하고 뒤늦은 답이 되살려 5초 대기)는 main에 이미 들어간 with-hide#418 수정이 막는 순서이고, 그 로그를 낸 실행은 그 수정이 없던 브랜치였습니다. - **판단해 주세요**: #518은 원인을 확정하지 못했고 이 PR이 닫지 않습니다. 실패 로그에는 시작 직후 `session_resume_control_changed`로 에이전트 시작이 실패한 흔적만 있어서, 시작을 시험 제한 안에서 포기하고 코어 상태를 덤프로 남기게만 했습니다. 마감(11월 11일) 전에 덤프가 쌓이는지 봐야 합니다. - **조심해서 볼 파일**: `hide-core/src/runtime/session.rs` - 새 탭 답마다 한 번 `Mutex<Runtime>` 안에서 도는 투영이고 고빈도 경로는 아닙니다. - **조심해서 볼 파일**: `web/e2e/named-tab-stays.spec.ts`, `web/e2e/pane-move.spec.ts` - 시간을 늘린 곳은 없고 상태를 기다리게만 바꿨습니다 (docs/TESTING.md의 flaky 정책). ## Evidence - **확인한 것**: 코어 단위 시험 `a_created_tab_the_session_listed_before_its_answer_is_the_visible_tab_at_the_answer`는 고치기 전에 "세션이 먼저 온 순서"에서 실패하고(체크아웃이 새 탭을 보이지 않음) 고친 뒤 두 순서 모두 통과합니다. - **확인한 것**: CI 반복 - 수정을 포함한 #2188에서 5건을 각각 20번, 재시도 없이 Linux 6샤드에 나눠 돌려 100/100 통과했습니다. - **확인한 것**: 이 PR의 `verify`는 전부 통과했고 Linux 6샤드와 Windows web e2e 어디에도 재시도 표시가 없습니다. - **확인한 것**: `hide-core` lib 시험 3957건 통과, `fmt --check`, `clippy -D warnings`, web `eslint`와 e2e 크기 검사 통과. - **확인하지 못한 것**: 수정 없는 main 그대로 같은 반복을 돌린 #2189도 100/100 통과했습니다. 원래 발생률이 낮아 이 반복은 고침의 효과를 가르지 못하고, 고침의 증거는 위 코어 단위 시험입니다. - **확인하지 못한 것**: 반복 측정은 Linux만입니다. 두 임시 PR의 Windows web e2e는 `@platform` 시험이 없어 "No tests found"로 실패했고, 이는 측정용 설정 탓입니다. - **확인하지 못한 것**: `hide-core` lib 시험 2건(`worktree_control` 프로세스 목록, pid 4294967294 읽기 실패)이 이 macOS 호스트에서 실패합니다. 이 변경이 닿지 않는 곳이고 main에서는 돌려 보지 않았습니다. - **확인하지 못한 것**: web 타입검사는 이 호스트에 rustup이 없어 릴레이 wasm이 없는 5건 오류만 남고, 고친 파일의 오류는 없습니다. <details><summary>Verification record</summary> - head: 브랜치 `fix/flaky-split-new-tab`, `verify` 실행 42361324449 - 로컬: `scripts/verify-cargo.sh test-scoped -p hide-core --lib`, `fmt-check`, `clippy -p hide-core --lib --tests -- -D warnings`, `eslint`와 `check-e2e-test-size.mjs` - 반복: 임시 브랜치 `ci-probe/flaky-split-repeat`(수정 포함, 실행 42361424674)와 `ci-probe/flaky-split-control`(main 그대로, 실행 42361444556) </details>
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.
측정용 임시 PR입니다. 수정이 없는 main 그대로에서 같은 e2e 5건을 각각 20번 등록하고 재시도 없이 Linux 샤드에 나눠 돌려, #2188의 결과와 견줍니다 (with-hide/hide-private#476, #187, #140, #534, #518).
실행이 끝나면 머지하지 않고 닫습니다.
스크린샷 없음: 측정용 임시 PR이라 화면 변경이 없습니다.