Repository navigation
docs: hold every feature to a connected device's panes as well as each system - #2192
Merged
Merged
Conversation
HyunjunJeon
pushed a commit
to HyunjunJeon/hide
that referenced
this pull request
Nov 9, 2026
…ide#2214) Closes with-hide/hide-private#686 ## Summary main의 macOS desktop e2e에서 링크 테스트가 매번 실패한 것은 제품 고장이 아닙니다. 테스트가 이제 없는 이벤트 이름을 세고 있었습니다. #2182가 터미널 클릭 이벤트 이름을 `terminal_click`에서 `terminal_mouse`(누름과 뗌)로 바꾸면서 web e2e만 고쳤고, macOS에서만 도는 desktop e2e는 옛 이름으로 남았습니다. 옛 이름의 개수는 늘 0이라 "클릭이 안 갔다" 확인은 헛통과하고 "클릭이 갔다" 확인만 실패했습니다. 이 PR은 옛 이름을 읽던 세 곳을 지금 이벤트로 고칩니다. 같은 일이 다시 생기지 않게 막는 검사는 후속 이슈 with-hide/hide-private#695로 넘겼습니다. 스크린샷 없음: 화면 변경 없음(테스트 두 파일만 바뀜). ## Review 원인과 같은 원인의 경로 표 (원인: with-hide#2182 `696ebfb2e`의 이벤트 이름 변경이 macOS 전용 desktop e2e에 전해지지 않음) | 경로 | 증거 | 고친 곳 | | --- | --- | --- | | `desktop/e2e/terminal-links.spec.ts:148` 링크 테스트 (5곳) | main run 42366515497부터 6번 연속 :297에서 `Expected 1, Received 0` | `terminal_mouse.press`로 셈 | | 같은 파일 :423 메뉴 테스트 (2곳) | "클릭 안 감" 확인뿐이라 늘 0으로 헛통과 | `terminal_mouse.press`로 셈 | | `web/e2e/sidebar-tab-groups.spec.ts:101` | f10985994에서 없어진 `sidebar_tab_expanded`를 "0번"으로 확인하는 헛통과 | 줄 제거 (보내는 코드가 없음) | | 부류: `countSent`가 모르는 kind에 0을 답하고, daemon이 받는 kind 목록이 한 곳에 없음 | 이름이 바뀌어도 그 spec이 도는 레인의 양성 확인에서만 드러남 | 이 PR 밖: with-hide/hide-private#695 (계약 파일 단일 출처, core·hided 시험, ci-plan 연결) | | 제품 클릭 전달 (web, hided, core, holder) | `onMouseDown`은 링크 위 누름을 보내지 않고, 평문 클릭은 press와 release로 보냄 (`web/src/terminals.ts`) | 변경 없음: 정상 | | `web/e2e/shard-durations.json`의 옛 s2 제목 | 실행 기록으로 만드는 생성 표라 옛 제목은 시간 값만 잃음 | 변경 없음: 다음 재생성 때 정리 | - **판단해 주세요**: 원인은 테스트 쪽 가정(옛 이벤트 이름)입니다. 제품의 클릭 경로는 with-hide#2182 설계대로 동작하므로 제품 코드는 바꾸지 않았습니다. - **판단해 주세요**: 처음에 넣었던 Rust 소스 문자열 검사 lint는 리뷰에서 기각됐습니다(payload guard 오탐, 타입 fallback 오탐, core·hided만 바뀐 PR에서 미실행). 그래서 뺐고, 바른 설계를 #695에 적었습니다. 이 PR의 최종 diff는 테스트 두 파일뿐입니다. ## Evidence - **확인한 것**: `terminal_mouse`의 `action`은 문자열이라 `countSent`가 `terminal_mouse.press`로도 셉니다(`web/e2e/wire.ts`). 평문 클릭 한 번은 press 하나입니다. - **확인한 것**: `verify-web.sh web lint`, `desktop lint`, `desktop typecheck` 통과. - **확인한 것**: macOS desktop e2e: 이 브랜치의 nightly(`lane=macos`) run 42383537743, job 128436010935(nightly-macos 2/2)에서 `terminal-links.spec.ts:148`이 첫 시도에 통과했습니다(with-hide#59, 9.2s, 재시도 없음). 같은 파일의 :384와 :529도 통과했습니다. - **확인한 것**: PR verify run 42383933982(`f32014cec`) success. - **확인하지 못한 것**: 이 PR의 CI는 macOS 경로가 바뀌지 않아 desktop e2e macos를 건너뜁니다. 위 nightly는 `f23808302`에서 돌았고, 그 커밋의 두 spec 파일은 최종 head `f32014cec`와 같습니다. - **확인하지 못한 것**: 같은 shard에서 `session-workflow.spec.ts:14`가 재시도까지 실패했습니다. 이 diff 밖의 테스트이고, 이미 flaky로 추적 중이며(with-hide/hide-private#515) main run 42366515497과 42369516392에서도 실패했습니다. <details><summary>Verification record</summary> - 마지막 통과 main run 42365938221 (`579eca5ec`), 첫 실패 42366515497 (`1a59917c6`). 그 사이 커밋 with-hide#2187, with-hide#2182, with-hide#2192 중 클릭 경로를 바꾼 것은 #2182뿐입니다(#2182의 main run은 취소). - 실패 run 42366515497, 42369516392, 42370631622, 42373345663, 42374340972, 42377545266 모두 :148이 재시도까지 실패. </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.
Related: #2182
Summary
"모든 기능은 macOS, Windows, Linux에서 동작한다"는 규칙은 있었지만, 연결된 원격 기기의 패널에서도 같아야 한다는 규칙은 없었습니다.
그래서 #2182에서 원격 기기의 에이전트 앱 복사가 Mac 클립보드에 닿지 않는 것을 늦게 발견했습니다(with-hide/hide-private#659).
AGENTS.md의 같은 절과docs/INSTALL.md, What each system supports의 기준 문장에 원격 기기를 넣었습니다.원격 기기에서 다른 점은 새 열을 만들지 않고, 그 기기 OS의 열에 적습니다(
hide .줄이 이미 그렇게 씁니다).Review
AGENTS.md에 화면, 입력, 선택, 클립보드를 예로 든 문장이 너무 구체적이거나 부족하지 않은지.Evidence