Repository navigation
test: converge fixture screen states before sending input - #2388
Merged
Merged
Conversation
yansfil
commented
Nov 10, 2026
yansfil
left a comment
Contributor
Author
There was a problem hiding this comment.
첫 리뷰. 검토 head: 4d813fe8be571982ce0235701adaba06a4843639, base: 10723b6412b857261ba0cb7df43fc780b6799eb8.
판정: pass. 차단 의견은 없습니다.
- 정확성: 이미 원하는 상태이면 입력 준비와 key 전송 전에 반환합니다. 기존 질문 상태를 보고 입력 처리 전에 끝나는 경로가 사라집니다. 다른 상태에서 전환할 때에는 기존 입력 준비와 동일한 상태 판정을 기다리며, 대기 한도나 기대값은 바꾸지 않았습니다. 질문 조건도 기존
setAgentAsking과 같습니다. - 공통화·단순성·경계: 질문을 공통
AgentState에 포함하고setAgentAsking은 그 setter를 호출합니다. close-subtree뿐 아니라 sidebar-status, projects-sidebar, mobile, desktop digit-shortcuts의 기존 호출도 같은 판정을 사용합니다. 병렬 helper를 추가하지 않고 중복 구현을 없앴으므로 engineering 원칙 7·13에 부합합니다. 제품 코드 변경은 없습니다. - 소유권과 한도: 기존
withControl의 finally 연결 정리를 그대로 사용합니다. 새 타이머·프로세스·큐·재시도·입력 재전송·sleep·skip은 없습니다. - 실패 근거: 기존 Linux job은 첫 시도에서
h1:t2 shown을 기다리다 실패하고 재시도에 통과했습니다. 그 실행의 보관된 daemon 로그에서 h1:p5의 질문 상태와, 뒤이어 h1:t2에서 h1:t4로 돌아간tab.visible_aligned를 확인했습니다. 실제 daemon에 연결된 입력 보류 실험의 코드와 출력도 읽었습니다. 수정본은 key 0개로 통과하고 보호 조건만 제거한 변이는 key 1개로 실패하며, 연결 close를 경계로 삼아 임의 지연으로 판정하지 않습니다. 이 실험은 제가 재실행한 결과는 아닙니다. - 반복 증거: run 42823681814 attempt 1의 Linux jobs
129858191231,129858191242,129858191510,129858191200,129858192540로그를 각각 확인했습니다. 각 대상 테스트에--repeat-each 20 --retries 0, 각 20 passed, 합계 100/100입니다. 실제 checkout은 반복 head080c138345d440313166fd98dcf262322bfd24e8를 base에 합친86c890b입니다. run의 나중 재실행과 구분해 첫 실행 증거로 확인했습니다. - 최종 내용: 반복 head 이후 변경은 임시 workflow 원복뿐이고, 최종 트리는 구현 커밋
514477c433aa1e31305cb32ace388b6684459450과 같습니다. 기존 숫자·밝기·목록 갱신·닫는 대상·순서 검증은 바뀌지 않았습니다.git diff --check통과. 로컬 테스트와 앱 조작은 하지 않았으며, 이 리뷰는 최종 정규 CI 전체 통과를 대신하지 않습니다. - minor, non-blocking · 증거 설명: #444 최초의
reading working실패와 이번tab shown실패를 본문에서도 구분하면 종료 근거가 더 명확합니다. 최초 headebcddae0267e에도agentReading호출은 있었지만 당시에는 session 보고 표식을 기다렸습니다. 현재 head에는 실제 입력 준비 표식으로 바꾼6949b0238과 배경 terminal을 준비하는8164fd0f1이 이미 포함돼 있습니다. 이번 diff가 최초 실패까지 새로 고쳤다고 확대 해석하지 않았습니다.
PR은 Summary·Review·Evidence·Verification record와 Closes with-hide/hide-private#444를 갖추고 있으며, 기여자 도구나 모델 attribution은 없습니다.
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.
Closes with-hide/hide-private#444
Summary
닫기 시트 검사 전에 이미 질문 중인 자식에게 보낸 불필요한 입력이 다음 탭 선택을 되돌려 검사가 멈췄습니다.
공통 상태 설정 함수가 질문을 명시적으로 구분하고, 이미 원하는 상태라면 입력과 탭 준비를 생략합니다.
숫자, 밝기, 실시간 목록, 닫는 대상과 순서에 대한 기존 검증은 그대로 유지합니다.
Review
web/e2e/fixture-agents.ts- 현재 상태 확인을 입력보다 앞에 두고 질문도 같은 경로로 처리합니다.web/e2e/daemon-actions.ts는 기존 snapshot의 질문 상태를 읽도록 테스트용 타입만 보완했습니다.Evidence
Verification record
reading working과 이번tab shown은 서로 다른 대기 지점이며, 현재 delegate에는 09683341d의agentReading입력 준비 대기가 있습니다.tab shown경합을 고칩니다.