Repository navigation
Let the agent sleep spec poll past a process Herdr reports without argv - #280
Merged
Merged
Conversation
PaneProcessInfoProcess.argv is optional and nullable in the pinned Herdr contract. The wake check read it as always present, so a foreground process reported without it threw inside expect.poll and failed the test instead of polling until the resumed agent appeared, as on main ac1cc97.
yansfil
added a commit
that referenced
this pull request
Oct 1, 2026
…es (#277) Related: Fixes #271 · PRD `agents/prd/korean-terminal-path-links/prd.md` ## Summary - 터미널에 `보드 보기 (docs/README.md)에 ...`처럼 경로 뒤에 닫는 괄호와 조사가 붙으면 `docs/README.md)에`를 파일명으로 검사해 링크가 사라졌다. - parser가 토큰마다 최대 6개의 유한한 해석(원문, 기호 정리, 조사만 제거, literal 위치, 위치 해석)을 만들고, hover provider가 실제로 있는 가장 긴 경로를 고른다. - 조사는 닫는 괄호·대괄호·중괄호·인용부호 바로 뒤의 정해진 목록만 인정하고, 임의의 한글을 한 글자씩 잘라 보지 않는다. - 링크 범위는 UTF-16 길이가 아니라 실제 cell로 계산해 wide 한글과 줄바꿈된 경로에서도 경로만 밑줄이 그어진다. - 한 hover의 새 파일 확인은 512개, batch는 64개로 제한하고, 넘친 후보와 검사 실패는 링크로 인정하지 않는다.   ## Review - **판단해 주세요**: 지원 조사 목록(에, 에서, 에게, 께, 으로, 로, 와, 과, 을, 를, 은, 는, 이, 가, 의, 도, 만, 부터, 까지 + 도/만/는/은)은 위임받아 정한 가정이다. - **판단해 주세요**: 512 새 lookup 예산은 위임 가정이다. 넘으면 일부 추론 링크가 안 뜨고 진단 로그에 개수만 남는다. - **조심해서 볼 파일**: `web/src/terminalLinkProvider.ts` - high-frequency path(hover). 원문 우선 admission과 "검사 못 한 긴 후보가 있으면 짧은 후보를 고르지 않는" 규칙. - **조심해서 볼 파일**: `desktop/src/main/localPath.ts` - failure path. 이제 `ENOENT`/`ENOTDIR`만 "없음"이고, 다른 오류는 경로 없이 코드만 담아 batch를 reject한다. - **조심해서 볼 파일**: `web/src/terminalLinks.ts` - `trimSpans`를 cell 기준으로 다시 썼다. wide glyph, surrogate, combining cell 경계. - **범위 밖 테스트 변경**: `desktop/e2e/digit-shortcuts.spec.ts`는 socket이 열린 뒤에 frame 관찰을 붙여 `tab_select` 0회로 실패하던 harness race를 reload로 고쳤다. assertion은 그대로다. - **알려진 미해결(이 PR 원인 아님)**: 이전 실행(96e3c47)에서 `agent-tab-groups.spec.ts:44` Meta 키캡이 한 번 안 떴다. b502 4회와 main 3회에서는 재현되지 않았다. 이 PR은 `keyboard.ts`/`hints.ts`를 건드리지 않는다. 원인은 미확정이며, 소스상 #269의 early-timer rearm(`d38e63f`)이 다루는 경로와 같을 가능성이 있다. 수정은 #269 소유이고 여기서 복제하지 않았다. ## Evidence - **확인한 것**: `sasu implement verify` PASS(7152f86, 최신 main 병합 후): `verify-cargo.sh test`, `verify-cargo.sh lint`. - **확인한 것**: 병합 전 b502에서 cli와 web을 다시 빌드한 뒤 background desktop lane 30개 중 25 passed, 5 skipped(SSH/packaged 앱 필요), 0 failed. 다른 worktree의 web e2e와 동시에 돌린 부하 상태였다. - **확인한 것**: 위 lane의 `terminal-links.spec.ts` 3개 case가 격리된 Electron에서 실제 hover 범위와 Workspace 파일 열기, 원문 파일 우선, wrapped 한글 경로를 확인한다. - **확인한 것**: `agent-tab-groups` ×3을 main, b502, main + `d38e63f`(로컬 적용만)에서 각각 돌려 모두 3/3 통과. - **확인한 것**: unit 테스트는 web parser/provider 57개, desktop `localPath` 9개다. 6단계 해석 상한, 16 spelling × 6 = 192 lookup 상한, 512/64 budget, cache, 실패 시 fail-closed를 다룬다. - **확인한 것**: 12개 토큰, 302열 dense 줄(cold/warm 각 5회)에서 원래 코드는 logical lookup 6개, 후보는 42개였다. 후보 native stat은 12회였고, warm에서는 양쪽 모두 native 검사 0회였다. hover-to-pointer 중앙값은 원래 cold 11.2 / warm 11.2 ms, 후보 cold 8.9 / warm 13.1 ms이다. 다른 작업이 함께 돌던 환경이라 개선이나 동등성은 주장하지 않는다. - **확인하지 못한 것**: 이번 HEAD에서 full web e2e는 로컬에서 다시 돌리지 않았다(CI 3 shard에 맡김). 마지막 로컬 110개 통과는 main 병합 전 HEAD 기준이다. - **확인하지 못한 것**: SSH 기기·원격 Workspace·packaged 앱 case 5개는 이 환경에서 skip됐다. 원격 context에서 새 파일 검사를 하지 않는다는 것(B14)은 unit으로만 확인했다. - **확인하지 못한 것**: 실제 OS 권한 거부(EACCES)는 주입한 오류로만 확인했다. column 5 위치 열기는 metadata와 unit으로만 확인했고 화면에서는 line 12까지 확인했다. - **확인하지 못한 것**: 위 스크린샷은 병합 전 리비전의 격리 후보에서 캡처했다. parser, provider, `localPath` 소스는 그 뒤로 바뀌지 않았다. <details><summary>Verification record</summary> - PRD: `agents/prd/korean-terminal-path-links/prd.md` (sha256 baa4be45368864c9364c27e4046a18b943c2f1cc2d19b1dbeea5567392d01f00) - Base 8d9919f → head 7152f86, verified 2026-10-01T08:28:47.695Z: PASS - Verification report: `agents/runs/korean-terminal-path-links/verification-report.json` and `agents/runs/korean-terminal-path-links/verification-report.md`; source fingerprint 2a0601d5bf906bf68c7b6f7ef43430f8fe82c3ff3bcb2da78b09c1ea8c7233c1 - Suites: - S1: GREEN `bash scripts/verify-cargo.sh test` (exit 0) - S2: GREEN `bash scripts/verify-cargo.sh lint` (exit 0) - Reviews: - Fidelity (b502ab2, follow-up over the full prior B1-B17 review): no Fix now; full-lane P1 closed by the rebuilt b502 background lane; Meta keycap non-reproducing, unattributed, owned by #269. Follow-up: run the SSH/packaged lanes where available. - Code (b502ab2, follow-up): no Fix now; earlier P1 was an uncommitted local QA guard, not in this diff; digit-shortcuts reload weakens no assertion; probe.ts store import adds no cycle. Follow-up: wait for `shellPage()` before the digit-shortcuts reload. - b502ab2 -> 7152f86 is only the origin/main merge (#275, #276, #279, #280): `git diff origin/main...HEAD` is byte-identical to the reviewed `ac1cc979...b502ab2` diff and the merge touches none of its files, so no new review ran. - Evidence: 100 registered (27 log, 57 file, 12 screenshot, 2 browser, 2 image); paths are local to the run directory - agents/runs/korean-terminal-path-links/evidence/focused.log - agents/runs/korean-terminal-path-links/evidence/candidate-native.log - agents/runs/korean-terminal-path-links/evidence/baseline-native.log - agents/runs/korean-terminal-path-links/evidence/baseline-dense--dense-hover-metrics.json - agents/runs/korean-terminal-path-links/evidence/candidate-native--dense-hover-metrics.json - agents/runs/korean-terminal-path-links/evidence/dense-comparison.json - agents/runs/korean-terminal-path-links/evidence/candidate-native--korean-prose-hover.png - agents/runs/korean-terminal-path-links/evidence/candidate-native--korean-prose-open.png - agents/runs/korean-terminal-path-links/evidence/candidate-native--korean-prose-open.json - agents/runs/korean-terminal-path-links/evidence/candidate-native--korean-original-file.png - agents/runs/korean-terminal-path-links/evidence/candidate-native--korean-wrapped-open.png - agents/runs/korean-terminal-path-links/evidence/candidate-native--korean-wrapped-open.json - agents/runs/korean-terminal-path-links/evidence/browser-no-host.png - agents/runs/korean-terminal-path-links/evidence/before-link.png - agents/runs/korean-terminal-path-links/evidence/after-link.png - agents/runs/korean-terminal-path-links/evidence/native-error-unit.log - agents/runs/korean-terminal-path-links/evidence/native-error-typecheck.log - agents/runs/korean-terminal-path-links/evidence/native-error-lint.log - agents/runs/korean-terminal-path-links/evidence/native-error-focused.log - agents/runs/korean-terminal-path-links/evidence/current-final-web-unit.log - agents/runs/korean-terminal-path-links/evidence/current-final-web-e2e.log - agents/runs/korean-terminal-path-links/evidence/current-native-print-target-typecheck.log - agents/runs/korean-terminal-path-links/evidence/current-native-print-target-lint.log - agents/runs/korean-terminal-path-links/evidence/current-complete-native-suite.log - agents/runs/korean-terminal-path-links/evidence/current-complete-native--build-source-hashes.json - agents/runs/korean-terminal-path-links/evidence/current-complete-native--native-targets.jsonl - agents/runs/korean-terminal-path-links/evidence/current-complete-native--composite-click-observations.json - agents/runs/korean-terminal-path-links/evidence/current-complete-native--korean-prose-hover.png - agents/runs/korean-terminal-path-links/evidence/current-complete-native--korean-prose-hover.json - agents/runs/korean-terminal-path-links/evidence/current-complete-native--korean-prose-open.png - agents/runs/korean-terminal-path-links/evidence/current-complete-native--korean-prose-open.json - agents/runs/korean-terminal-path-links/evidence/current-complete-native--korean-composite-stage-2-open.png - agents/runs/korean-terminal-path-links/evidence/current-complete-native--korean-composite-stage-2-open.json - agents/runs/korean-terminal-path-links/evidence/current-complete-native--korean-probe-retry-open.png - agents/runs/korean-terminal-path-links/evidence/current-complete-native--korean-probe-retry-open.json - agents/runs/korean-terminal-path-links/evidence/current-complete-native--korean-wrapped-hover.png - agents/runs/korean-terminal-path-links/evidence/current-complete-native--korean-wrapped-hover.json - agents/runs/korean-terminal-path-links/evidence/current-complete-native--korean-wrapped-open.png - agents/runs/korean-terminal-path-links/evidence/current-complete-native--korean-wrapped-open.json - agents/runs/korean-terminal-path-links/evidence/current-matched-baseline-six-stage--dense-hover-metrics.json - agents/runs/korean-terminal-path-links/evidence/current-matched-baseline-six-stage--build-source-hashes.json - agents/runs/korean-terminal-path-links/evidence/current-matched-baseline-six-stage--native-targets.jsonl - agents/runs/korean-terminal-path-links/evidence/current-matched-baseline-six-stage.log - agents/runs/korean-terminal-path-links/evidence/current-matched-candidate-six-stage--dense-hover-metrics.json - agents/runs/korean-terminal-path-links/evidence/current-matched-candidate-six-stage--build-source-hashes.json - agents/runs/korean-terminal-path-links/evidence/current-matched-candidate-six-stage--native-targets.jsonl - agents/runs/korean-terminal-path-links/evidence/current-matched-candidate-six-stage.log - agents/runs/korean-terminal-path-links/evidence/current-matched-three-module-comparison.json - agents/runs/korean-terminal-path-links/evidence/current-browser-amended-observations.json - agents/runs/korean-terminal-path-links/evidence/current-browser-amended-no-host.png - agents/runs/korean-terminal-path-links/evidence/current-qa-slot-receipt.md - agents/runs/korean-terminal-path-links/evidence/current-fresh-slot-cleanup-proof.json - agents/runs/korean-terminal-path-links/evidence/current-complete-native-rerun-suite.log - agents/runs/korean-terminal-path-links/evidence/current-complete-native-rerun-results--desktop-attach-the-app-sta-ce119--native-chords-and-the-menu-background--error-context.md - agents/runs/korean-terminal-path-links/evidence/functional-diagnose-keycap-suite.log - agents/runs/korean-terminal-path-links/evidence/functional-diagnose-keycap-exact-suite.log - agents/runs/korean-terminal-path-links/evidence/functional-diagnose-keycap-exact--native-targets.jsonl - agents/runs/korean-terminal-path-links/evidence/functional-functional-slot-cleanup-proof.json - agents/runs/korean-terminal-path-links/evidence/functional-functional-native-preflight.json - agents/runs/korean-terminal-path-links/evidence/slot-final-functional-full-suite.log - agents/runs/korean-terminal-path-links/evidence/slot-final-functional-full--native-targets.jsonl - agents/runs/korean-terminal-path-links/evidence/slot-final-functional-full-relative-suite.log - agents/runs/korean-terminal-path-links/evidence/slot-final-functional-final-cleanup-proof.json - agents/runs/korean-terminal-path-links/evidence/slot-final-functional-superseded-stop.json - agents/runs/korean-terminal-path-links/evidence/runner-recovery-functional-lane-runner.py - agents/runs/korean-terminal-path-links/evidence/runner-recovery-native-slot-guard.cjs - agents/runs/korean-terminal-path-links/evidence/runner-recovery-test-functional-lane-runner.py - agents/runs/korean-terminal-path-links/evidence/runner-recovery-runner-process-tests.json - agents/runs/korean-terminal-path-links/evidence/runner-recovery-runner-ready-receipt.json - agents/runs/korean-terminal-path-links/evidence/runner-recovery-runner-ready.md - agents/runs/korean-terminal-path-links/evidence/runner-recovery-code-review-runner-followup.md - agents/runs/korean-terminal-path-links/evidence/runner-recovery-fidelity-review-runner-followup.md - agents/runs/korean-terminal-path-links/evidence/runner-recovery-review-dispositions.md - agents/runs/korean-terminal-path-links/evidence/resumed96-targeted.log - agents/runs/korean-terminal-path-links/evidence/resumed96-targeted-corrected.log - agents/runs/korean-terminal-path-links/evidence/resumed96-cleanup-proof.json - agents/runs/korean-terminal-path-links/evidence/resumed96-active-grant.json - agents/runs/korean-terminal-path-links/evidence/resumed96-resources.jsonl - agents/runs/korean-terminal-path-links/evidence/resumed96-native-slot-guard.loaded.cjs - agents/runs/korean-terminal-path-links/evidence/resumed96-artifacts-native-targets.jsonl - agents/runs/korean-terminal-path-links/evidence/resumed96-artifacts-final-86759-probe.json - agents/runs/korean-terminal-path-links/evidence/resumed96-artifacts-final-86759-native.png - agents/runs/korean-terminal-path-links/evidence/resume96-code-review-digit-observer-current.md - agents/runs/korean-terminal-path-links/evidence/resume96-fidelity-review-digit-observer-current.md - agents/runs/korean-terminal-path-links/evidence/resume96-retained-binary-equivalence-96.json - agents/runs/korean-terminal-path-links/evidence/resume96-closed9a-suite.log - agents/runs/korean-terminal-path-links/evidence/resume96-closed9a-done.json - agents/runs/korean-terminal-path-links/evidence/resume96-closed9a-cleanup-proof.json - agents/runs/korean-terminal-path-links/evidence/resume96-closed9a-failure1.md - agents/runs/korean-terminal-path-links/evidence/resume96-closed9a-failure2.md - agents/runs/korean-terminal-path-links/evidence/resume96-closed9a-failure3.md - agents/runs/korean-terminal-path-links/evidence/b502-code-review-resumed-native-followup.md - agents/runs/korean-terminal-path-links/evidence/b502-fidelity-review-resumed-native.md - agents/runs/korean-terminal-path-links/handover-2026-10-01/branch-desktop-background.log - agents/runs/korean-terminal-path-links/handover-2026-10-01/base-main-keycap.log - agents/runs/korean-terminal-path-links/handover-2026-10-01/branch-keycap.log - agents/runs/korean-terminal-path-links/handover-2026-10-01/base-patched-keycap.log - agents/runs/korean-terminal-path-links/handover-2026-10-01/bundle1.log - agents/runs/korean-terminal-path-links/handover-2026-10-01/fidelity-review-b502-followup.md - agents/runs/korean-terminal-path-links/handover-2026-10-01/code-review-b502-followup.md - Changed paths: 106 (see Files changed) </details>
yansfil
added a commit
that referenced
this pull request
Oct 29, 2026
…ir causes (#1833) Closes with-hide/hide-private#256 Closes with-hide/hide-private#244 Closes with-hide/hide-private#226 Closes with-hide/hide-private#267 Closes with-hide/hide-private#163 Closes with-hide/hide-private#266 Closes with-hide/hide-private#230 Closes with-hide/hide-private#264 Closes with-hide/hide-private#265 Closes with-hide/hide-private#212 Closes with-hide/hide-private#141 Closes with-hide/hide-private#282 Related: with-hide/hide-private#326 (제품 쪽 후속), #1811 ## Summary Windows에서 데스크톱 앱 시작·정리와 hided daemon 수명 테스트가 가끔 실패하던 것을 원인별로 고칩니다. 제한 시간과 재시도는 그대로입니다. 가장 잦던 실패(#256)는 job에서 처음 시작하는 Windows PowerShell과 새 `hided`의 cold 비용이 첫 테스트의 제한 시간 안에 들어간 것이었고, 테스트 전에 한 번 먼저 시작합니다. 정리 실패(#244 등)는 Playwright의 `app.close()`가 앱 프로세스가 끝나기 전에 돌아오는 것이었고, fixture가 그 프로세스의 종료까지 기다립니다. hided 테스트의 private Herdr는 pane shell까지 끝난 뒤에 폴더를 지웁니다. 나머지는 테스트가 잘못 기대하던 것(아직 없는 파일 읽기, delta 모양, 탭 선택 순서)을 계약대로 고쳤습니다. 제품 코드는 바뀌지 않습니다. 스크린샷 없음: 화면과 제품 코드를 건드리지 않음(e2e fixture와 테스트만). <details><summary>이슈별 원인과 처리</summary> - **#256** Add a project(Windows desktop job의 첫 테스트): Herdr는 cmd.exe pane에서 agent를 `powershell.exe -NoLogo -NoProfile -EncodedCommand`로 띄웁니다(Herdr v0.9.5 `interactive_shell_command`). desktop lane은 첫 테스트 전에 PowerShell을 한 번도 돌리지 않아, 첫 `agent start` 두 개가 46초(제한 30초) 걸렸고 이후 시작은 0.35초였습니다(run 40821395497). web lane은 globalSetup의 `endVctip`이 PowerShell을 먼저 돌려 이 실패가 없습니다. 10-23에는 같은 첫 테스트에서 job의 첫 `hided` 시작이 24초 걸려 "hided did not respond"가 됐습니다(run 39930517565, 평소 0.4-0.9초). -> 두 entry point가 같은 `prepareWindowsRun`으로 Herdr와 같은 형태의 PowerShell 시작과 `hided node --version`을 테스트 전에 한 번 하고 걸린 시간을 출력합니다. desktop에는 없던 `endVctip`도 함께 합니다. - **#244 #226 #267** "candidate exit unconfirmed": Windows에서 Playwright는 Electron을 cmd.exe 아래에서 띄우고(`shell: true`), `close()`는 앱의 디버그 파이프가 닫히면 context가 disposed되어 `TargetClosedError`를 삼키고 돌아옵니다(playwright-core 1.63). 기록된 프로세스(cmd.exe)는 그 뒤에 끝나고, cleanup은 바로 `exitCode`를 읽었습니다. -> fixture의 `close()`가 그 프로세스의 `exit`까지 10초 안에서 기다리고, 넘으면 pid를 말하며 실패합니다(home은 보존). - **#163** product analytics: `expect.poll`은 콜백이 던진 오류를 재시도하지 않습니다. daemon의 첫 저장 전에 `core-state.json`을 읽어 ENOENT로 즉시 실패했습니다. -> 없는 파일은 "아직 저장 안 됨"으로 읽고, 다른 오류는 그대로 던집니다. - **#266** handshake: semantic delta는 한 burst에서 바뀐 필드를 모두 싣습니다. 느린 runner에서는 시작 직후의 link backfill이 UI 변경과 같은 frame에 `navigator`를 실었습니다(실패 로그에 `backfill.done`). -> "navigator가 없다" 대신 "partial delta가 싣는 필드는 모두 그 reader가 가진 값과 다르고, 전체보다 적다"를 단언합니다. - **#230** hide-ai usage: usage child는 `fake-claude.cmd` -> `python`이고 그 step이 job의 첫 python 실행입니다(보통 0.9-3.7초, 나쁜 run 21-30초). -> TESTING.md Rust 규칙 8의 `stand_ins::ready_with_args`로 fake를 먼저 한 번 시작합니다(`FAKE_ENV` lock 안에서). - **#264 #265 #212** connect_stop: 이 step이 job의 첫 debug `hided` 시작입니다. 보통 0.8-1.2초, 나쁜 run은 세 테스트가 함께 10-18초, 그 재시도도 6-10초(첫 시작의 cold 비용이 끝나는 시점까지 기다린 것과 맞음). -> 같은 규칙으로 `hide connect` 전에 `hided node --version`을 한 번 시작합니다. - **#141** New tab: 새 탭은 선택되기 전에 먼저 그려집니다. 테스트는 탭 수가 늘고 선택이 draft가 아니면 선택된 탭을 읽었는데, 이전 탭 `w1:t1`도 그 조건을 만족해 이전 탭을 읽었습니다. -> 메뉴 단계가 이미 하듯 선택이 이전 탭을 떠날 때까지 기다립니다. - **#282** real_herdr: 마지막 실패는 fixture 폴더 삭제가 os error 32(다른 프로세스가 사용 중)였습니다. `PrivateHerdr::stop`은 server 프로세스만 기다렸고, Windows에서 pane shell(cwd가 fixture 안)이 server보다 오래 삽니다. -> server를 `OwnedChild`(Windows Job)로 시작하고, stop은 `capture_until`로 server와 그 트리 전체가 끝날 때까지 기다립니다(30초, 넘으면 트리를 끝내고 오류). </details> ## Review - **판단해 주세요**: 첫 시작을 미리 내는 세 곳(#256 #230 #264류)은 테스트가 재는 것과 무관한 cold 비용이라 TESTING.md 규칙 8을 따랐습니다. 다만 실제 PC의 첫 agent 시작·첫 hided 시작에서도 보일 수 있어 제품 쪽은 with-hide/hide-private#326으로 남겼습니다. - **판단해 주세요**: #266 단언은 원래 계약(UI 변경 delta는 바뀌지 않은 section을 싣지 않음)을 약하게 하지 않습니다. 예전에는 `navigator` 하나만 봤고, 이제는 실린 모든 필드가 바뀐 것인지와 전체보다 적은지를 봅니다. `navigator`는 실제로 바뀌었을 때만 실릴 수 있습니다. - **조심해서 볼 파일**: `hided/tests/it/support/private_herdr.rs` - 23곳이 쓰는 fixture의 stop이 이제 트리 종료까지 확인합니다(failure path: 남은 pane이 있으면 오류). - **조심해서 볼 파일**: `desktop/e2e/fixture.ts` - Playwright `ElectronApplication.close`를 감쌉니다(failure path: 끝나지 않는 프로세스는 10초 뒤 pid와 함께 실패, home 보존). - **조심해서 볼 파일**: `web/e2e/platform-fixture.ts` `prepareWindowsRun` - 두 e2e entry point의 Windows 준비 순서(PowerShell, hided, 마지막 compile 뒤 vctip). ## Evidence - **확인한 것 (원인)**: #256 실패 6건이 모두 job의 첫 테스트였고, 최근 30 run 중 1건 실패; artifact의 Herdr 로그로 첫 시작 46초/14.5초/이후 0.35초를 쟀습니다. - **확인한 것 (원인)**: #244의 반환 경로는 playwright-core 1.63 `ElectronApplication.close()`와 `launchProcess`(`shell: true`, `close` 이벤트) 소스로 확인했습니다. - **확인한 것**: `fixture-cleanup.unit.ts`의 새 두 테스트가 수정 전 코드(exit 대기 제거)에서 실패하고 수정 후 통과. desktop unit 28 files 295 passed. - **확인한 것**: desktop typecheck(e2e 포함), web/desktop lint, `verify-cargo.sh fmt-check` 통과. - **확인한 것 (CI 반복)**: 0c6740300에서 verify 40854250922를 두 번(attempt 1, 2) 돌려 둘 다 통과, 재시도 0, flaky 보고 없음. Windows desktop e2e 19/19 두 번(첫 테스트 포함), macOS desktop 58+61 두 번, Rust 6231/6231 두 번, Windows check와 Windows web e2e 통과. 미리 치른 첫 PowerShell 시작은 2.5-5.6 s, Windows usage 테스트 1회차는 첫 Python 시작이 20.7 s 걸렸지만 기한 밖에서 치러져 통과했습니다. - **확인한 것**: 2934e82b7의 #266 assertion은 Linux·Windows에서 결정적으로 실패했습니다(`rest`가 바뀌지 않은 delta는 `rest: null`을 보냄). 0c6740300이 그 frame을 건너뛰게 고쳤고, 위 두 번의 run에서 통과했습니다. - **확인하지 못한 것**: 이 Mac에서 Windows를 돌릴 수 없어 Windows 동작은 이 PR의 CI Windows job으로 확인합니다. 디스크 여유가 2-5 GB라 Rust 테스트(handshake, connect_stop, hide-ai)와 e2e는 로컬에서 빌드하지 못했고 CI로 확인합니다. <details><summary>Verification record</summary> - base: main d8da3e4 - head: 0c67403, verify 40854250922 attempt 1, 2 success - 범위에서 뺀 것(증거는 각 이슈 코멘트에): #214 #169 #254 #255 #280, #324(이번 원인은 트리 누락이 아님) </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: Refs #278
Summary
e2e/agent-sleep.spec.ts:23failed in web e2e 1/3 on mainac1cc979withTypeError: Cannot read properties of undefined (reading 'join')at line 92.The wake check maps
process.argv.join(" ")overpane process-info, but the pinned contract (PaneProcessInfoProcess) requires onlypidandname;argvisarray | nulland may be absent.A frame with such a process threw inside
expect.poll, which fails at once instead of polling.The spec now types
argvas the contract does and keeps polling forclaude --resume <session>; the expectation is unchanged.Review
Evidence
contracts/herdr-api.schema.json의PaneProcessInfoProcess정의(required: pid, name).foreground_processes[].argv를 읽지 않습니다(rg로 확인, hcoord는 pid만 사용).pnpm --dir web typecheck, eslint 통과, 로컬에서 고립된 pinned Herdr 0.9.1로 이 spec--repeat-each=55/5 통과.agent-tab-groups.spec.ts:203실패는 원인을 아직 찾지 못했고, 근거와 다음 단계는 #278에 남깁니다.