Repository navigation
Keep one failing card from blanking the whole window - #1052
Merged
Merged
Conversation
…s agents A checkout whose pull request also closes another issue draws a second card for that issue with the pull request and no agents (D-07). Since the card took its named agents from the checkout's core tree, that second card looked the tree's picks up among its own empty rows and threw, which unmounted the whole shell and left the window blank. A card now carries the checkout's rows and tree together or nothing.
An error React did not catch unmounted the whole shell, the component that owns the core's socket included, so one inconsistent card left the window blank and disconnected, and a reload drew the same snapshot and failed again. Each part of the window now has its own boundary under the socket's owner: the sidebar and the center screen show one quiet line in their place, the top row keeps its drag strip, and a notice, an overlay or the browser displays' bridge is left out. The failure is a diagnostic once until the part draws again, and the part is drawn again on the next change to the snapshot or the page's state, listened for only while it is down.
A boundary began listening for the next change only when it caught, so StrictMode's simulated remount dropped the listener of a part that failed on its first draw and it never drew again. The listening now follows the failed state. A change to the diagnostic list alone no longer draws a part again: two parts failing with a new message each time drew each other on every diagnostic until React stopped the update loop.
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.
Summary
PR #1051의 체크아웃이 이슈 두 개를 닫으면서 설치된 앱 창 전체가 검게 변했습니다.
닫는 이슈 쪽 두 번째 카드가 빈 에이전트 목록에서 체크아웃 트리가 고른 에이전트(
wN1:p2)를 찾다가 예외를 던졌고, 처리되지 않은 렌더 예외가 React 루트 전체와 core 소켓을 내렸습니다.재시작해도 같은 스냅샷이 매번 다시 던져서 창은 계속 비어 있었습니다.
이 영역을 그리지 못했습니다. 다음 변경 때 다시 그립니다.한 줄을 보이고, 실패는 진단 로그에 부분별로 한 번 남습니다. 배너는 없습니다.887cb763)Review
web/src/App.tsx- 소켓을 가진App바로 아래에 경계를 두어 렌더 실패가 연결을 끊지 않게 함;web/src/RenderBoundary.tsx- 실패한 동안에만 두 스토어를 구독하고 다음 변경에 다시 그림(failure path).Evidence
Agent scope references a missing row: wN1:p2를 던지고 루트가 비었습니다.projectBoard.test.ts의 새 테스트는 main 코드에서 그 예외로 실패하고 이 PR에서 통과합니다.RenderBoundary.test.tsx6개는 페이지 상태 구독이나 중복 기록 방지를 빼면 해당 테스트가 실패하고, 리뷰에서 나온 두 결함(StrictMode 재마운트 뒤 재시도 안 함, 두 실패 부분이 서로의 진단으로 무한 갱신)은 이전 커밋에서 실패하는 것을 확인했습니다.bash scripts/verify-web.sh(web·desktop typecheck, lint, test, build)와node scripts/check-design-contract.mjs통과, 리뷰 반영 뒤 web 유닛 1499개 재통과.desktop e2e에 맡겼습니다. 렌더러 콘솔과 셸 진단이 데스크톱 로그(desktop.log)에 남지 않는 기존 공백은 이 PR 범위 밖입니다.