Skip to content

test: hold the hidden pane parked and attached in the program copy test - #2225

Merged
yansfil merged 1 commit into
mainfrom
test/program-copy-parked-pane
Nov 7, 2026
Merged

yansfil merged 1 commit into
mainfrom
test/program-copy-parked-pane

Conversation

@yansfil

@yansfil yansfil commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

Related: #2216

Summary

#2216의 숨은 패널 시험이 실제로는 숨은 패널을 지워 버려, "없는 패널"을 두 번 시험하고 있었습니다.
이제 시험은 숨은 패널을 core가 계속 보내는 상태(attached)로 두고 화면 밖에 세워 둔 채(parked) 확인합니다: 그 패널은 남아 있지만 화면에 없고, 그 복사는 클립보드에 쓰이지 않습니다.
제품 동작은 바뀌지 않습니다.

스크린샷 없음: 시험 파일만 바뀌고 화면은 그대로입니다.

Review

  • 조심해서 볼 파일: web/src/clipboard.test.ts - store의 terminal.panes에 두 패널을 attached로 넣어, 숨은 패널이 detach 때 dispose되지 않고 liveTerminalIds에 남는지.

Evidence

  • 확인한 것: liveTerminalIds()에 숨은 패널이 남고 terminalShown이 보이는/숨은/없는 패널에 true/false/false; 그 상태에서 숨은·없는 패널의 복사는 거절, 보이는 패널만 써짐. vitest 3개 통과, eslint.
  • 확인하지 못한 것: 웹 전체 시험과 다른 레인은 로컬에서 돌리지 않았고 CI에 맡깁니다.
Verification record

@yansfil
yansfil added this pull request to the merge queue Nov 7, 2026
Merged via the queue into main with commit 8c89ab1 Nov 7, 2026
34 checks passed
@yansfil
yansfil deleted the test/program-copy-parked-pane branch November 7, 2026 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant