Skip to content

빠진 프로세스 목록과 느린 데몬 시작을 테스트가 견디게 한다 - #788

Merged
yansfil merged 3 commits into
mainfrom
fix/flaky-agent-tabs
Oct 8, 2026
Merged

yansfil merged 3 commits into
mainfrom
fix/flaky-agent-tabs

Conversation

@yansfil

@yansfil yansfil commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

Closes #759
Closes #760

Summary

  • Flaky test: a session started before the hook wears the chip, Not now keeps it, and Reopen continues the conversation and connects it #760: processArgv가 Herdr의 pane process-info 답에서 foreground_processes가 빠진 경우(셸이 아직 프로그램을 띄우지 않은 때)를 읽다가 TypeError로 죽었습니다. 스키마에서 이 필드는 선택입니다.
  • 빠진 필드를 빈 목록으로 읽고, 거절된 Reopen 테스트는 에이전트 프로세스가 보일 때까지 기다린 뒤 "그대로"의 기준을 잡습니다.
  • Flaky test: a real external Herdr focus is followed #759: 데몬을 띄우는 픽스처가 상태 파일과 /health를 5초만 기다렸습니다. 제품 자체의 상한(HEALTHY_WITHIN 10초)의 절반이라 느린 Windows 러너에서 먼저 포기했습니다.
  • 이제 30초까지 기다리고, 데몬이 먼저 끝났으면 종료 코드와 로그 위치를 바로 말하고, 시간이 다 됐으면 상태 파일 쓰기 전인지 /health 응답 전인지 말합니다.

Review

  • 조심해서 볼 파일: web/e2e/hided-fixture.ts - 모든 e2e가 쓰는 데몬 시작 대기라 실패 경로가 바뀝니다.
  • 판단해 주세요: 대기 상한 30초(제품 상한의 3배)가 적절한지. 신호는 /health 응답이고, 상한은 실패를 알리는 선일 뿐입니다.

Evidence

  • 확인한 것: pane-connection과 pane-focus-ordering 대상 테스트 24회(macOS, CPU 부하 16개, 재시도 없음) 24 / 24 통과. web lint(e2e 크기 예산 포함) 통과.
  • 확인하지 못한 것: 두 이슈 모두 수정 전 실패를 재현하지 못했습니다. #760은 스키마와 오류 위치에서, #759는 코드의 대기 상한에서 원인을 이름 붙였습니다. Windows에서의 시작 시간은 재지 못했습니다.
  • 확인하지 못한 것: with-hide/hide-private#299, Flaky test: Selecting an Agent tab moves the title width to it, and the selected tab stays in sight once the strip scrolls #754, #756은 이 PR이 닫지 않습니다. Linux CI에서 부하(CPU 6개) 아래 각 21회쯤 돌려도 재현하지 못해 원인을 이름 붙이지 못했습니다.

@yansfil
yansfil merged commit 4c903cd into main Oct 8, 2026
19 checks passed
@yansfil
yansfil deleted the fix/flaky-agent-tabs branch October 8, 2026 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant