Skip to content

feat(core): report the bound port over IPC - #1066

Closed
harijoe wants to merge 1 commit into
julien/sky-546-extract-vite-pluginfrom
julien/sky-546-ipc-port
Closed

feat(core): report the bound port over IPC#1066
harijoe wants to merge 1 commit into
julien/sky-546-extract-vite-pluginfrom
julien/sky-546-ipc-port

Conversation

@harijoe

@harijoe harijoe commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • server.run() reports its bound port to the parent over IPC as { type: "skybridge:listening", port }.
  • Only fires when the process was spawned with an IPC channel, so every production path is unaffected.

Architecture Notes

  • Why IPC rather than a return value — binding and reporting both happen in the child, so a caller can use __PORT=0 and learn the real port without a window where another process can take it.

@harijoe
harijoe deleted the branch julien/sky-546-extract-vite-plugin August 26, 2026 09:58
@harijoe harijoe closed this Aug 26, 2026
@harijoe
harijoe deleted the julien/sky-546-ipc-port branch August 26, 2026 09:58
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