fix(sync): PUT broadcast + Electron duplicate browser + probePort mode#16
Merged
PresenceWith merged 1 commit intodevelopfrom Mar 14, 2026
Merged
fix(sync): PUT broadcast + Electron duplicate browser + probePort mode#16PresenceWith merged 1 commit intodevelopfrom
PresenceWith merged 1 commit intodevelopfrom
Conversation
- PUT /api/sync now broadcasts file-changed to all WS clients (I-002) - Skip browser open when server is in electron mode (I-003) - Preserve existing PID file mode in probePort() recovery (I-004) - Add put-broadcast tests (2 tests, 95 total) - Update docs: PLAN.md status, ARCHITECTURE.md data flow, ISSUES.md Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
vync open호출 시 불필요하게 시스템 브라우저가 열리던 버그 수정probePort()복구 시 PID 파일 mode를 항상 'daemon'으로 덮어쓰던 버그 수정Changes
tools/server/server.tsregistry.broadcastToFile()추가 (+4 LOC)tools/cli/open.tsvyncOpen()에 electron mode 체크 +probePort()mode 보존 (+6 LOC)tools/server/__tests__/put-broadcast.test.tsdocs/ISSUES.mddocs/PLAN.mddocs/ARCHITECTURE.mdTest plan
npx vitest run— 95개 테스트 전체 PASS (신규 2개 포함)vync open <file2>→ 브라우저 안 열리고 Electron 탭만 추가vync open→ 브라우저 정상 열림🤖 Generated with Claude Code