Repository navigation
fix: report the actual console port for --port 0 - #139
Merged
Merged
Conversation
added 7 commits
October 21, 2026 21:03
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.
When
--port 0asks the operating system to choose a console port, Jury previously openedhttp://127.0.0.1:0even though the server was listening on a different port. Return the actual bound port so review and saved-run consoles open a reachable URL.Regression tests verify literal zero reaches the listener, the reported URL reaches the server, available nonzero requests are preserved, and occupied ports fall back sequentially. CLI tests observe the real listener call without replacing socket behavior. Usage documentation and the changelog describe the behavior.
Validation on
d1ba46e0395e65fcf8f0e190edf8e60295d005ac:node --test test/server-port.test.js test/web-launch.test.js: 10 passed.npm test: 272 passed, 0 failed.npm run test:package,npm run package:plugin, andgit diff --check origin/master...HEAD: passed.Portable equivalent of the executed local review command (the recorded invocation used the absolute worktree path and redirected output to an evidence log):
Current master
86fda6713039af50817f4ba29f67d4f8960784f3was integrated without rewriting history. Final-head remote CI is pending.