Repository navigation
fix(core): 실시간 연결이 끊겼다가 다시 붙으면 새로 고치지 않아도 목록을 다시 읽음 (SIL-74) - #54
Merged
Merged
Conversation
끊김 안내(socket closed: 1006)가 다시 연결된 뒤에도 남아 있던 문제를 고쳐요. 다시 연결되면 onChange를 불러 안내를 지우고 끊긴 사이에 온 변경을 다시 읽어요. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
바뀐 결정 사항 찾기 · PR #54
바뀐 결정 사항이 없어요. (살펴본 영역: app, notify) |
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.
관련 이슈
SIL-74 [개발] 웹 앱 화면 만들기 (A1~A4)
무엇을 바꿨나요
watchPendingChecks(packages/core/src/data/notify.ts): 끊긴 적이 있는데 다시 연결되면(SUBSCRIBED)onChange를 불러요. 웹 앱은 그때 끊김 안내를 지우고 목록을 다시 읽어요. 끊긴 사이에 온 새 확인할 변경은 OS 알림도 떠요.packages/core/src/data/notify.test.ts새로 추가: 끊김 → 다시 연결 순서에서onChange가 한 번만 불리는지 확인해요.packages/core/README.md,apps/web/src/api/types.ts설명 한 줄씩 고침.왜 바꿨나요
웹 앱에 "새 확인할 변경을 바로 받지 못하고 있어요 (socket closed: 1006). 새로 고치면 다시 연결해요."가 자주 뜨고 사라지지 않았어요.
연결은 Supabase가 알아서 다시 붙이는데, 화면은 끊김만 보고 다시 붙음은 보지 않아서 안내가 남아 있었어요. 사람이 새로 고치지 않아도 되게 하려고 바꿨어요 (app.notify.realtime, notify.error.not-empty는 그대로 지켜요: 끊긴 동안은 안내가 떠요).
어떻게 확인했나요
pnpm check통과 (vitest 229 통과·1 건너뜀, notify 78 통과)직접 확인하지 못한 부분
worker: true설정은 따로 시험해서 다음 작업으로 나눠요.🤖 Generated with Claude Code