Skip to content

Windows e2e: s2의 재시도에서 less를 q로 끝낸 뒤 셸 프롬프트가 돌아오지 않는다 #475

Closed

Description

@yansfil

What happened

Windows web e2e에서 web/e2e/s2.spec.ts:55("checkouts, tabs, splits, zoom, close and the sheet")의 재시도가 두 run 연속 같은 자리에서 실패했다.
seq 1 200 | less를 띄우고 wheel 검사를 마친 뒤 q를 누르면, 15초 동안 화면에 less의 줄(1, 2, ...)이 남고 셸 프롬프트 fixture %가 돌아오지 않는다(s2.spec.ts:213).

두 run 모두 첫 시도는 이 자리를 지나 더 뒤(close_pane 뒤 pane 수, toggle_zoom 뒤 data-zoomed)에서 실패했고 그것은 #424 계열이다.
재시도만 less 종료에서 막혔으므로 첫 시도 실패와는 다른 원인으로 본다.
#466은 desktop fixture만 바꾸므로 이 실패와 무관하다.

확인한 것: 두 run의 Playwright 출력(위 두 job 로그).
확인하지 않은 것: q가 PTY까지 갔는지(전송한 key 수), Windows의 less가 어느 것인지(Git for Windows), 재시도 worker에서만 나는 이유. #468의 PR run(37269153537)에서는 Windows에서 s2:55가 통과했다.

What you expected

q가 less를 끝내고 15초 안에 fixture % 프롬프트가 돌아온다(Linux, macOS와 같다).

완료 조건:

  • 원인이 정해지고(키 전달, less 동작, 재시도 worker 상태 중 무엇인지) 고쳐져, Windows web e2e에서 s2:55가 첫 시도와 재시도 모두 이 자리를 지난다.
  • 기한을 늘리거나 Windows에서 이 단계를 건너뛰는 것으로 닫지 않는다.

Steps to reproduce

  1. Windows lane에서 web e2e를 s2.spec.ts:55로 돌린다.
  2. 첫 시도가 실패하면 재시도가 s2.spec.ts:213에서 멈추는지 본다.

Versions

Activity

  1. added
    bug
    on Oct 5, 2026
  2. yansfil commented on Oct 5, 2026

    @yansfil
    ContributorAuthor

    닫음: #480이 계약 7의 msys less를 받은 바이트를 기록하는 alt-screen fixture로 바꿔, wheel이 PTY에 보내는 바이트(ESC[B, ESC[A)와 q를 정확히 단언한다.
    닫는 조건(Windows main 연속 2회 녹색)을 넘었다: #480 이후 main run d56edc6, 31d9b77, 4019b33, 76018bf2의 Windows web e2e가 모두 녹색이다.
    이 test의 뒤이은 flaky #485는 less가 아니라 setup의 splitShell 시그니처(#482, #488이 고침)였다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions