Skip to content

test(hub): a hub whose port was taken meanwhile starts on another one - #336

Merged
7schmiede merged 1 commit into
mainfrom
test/hub-start-port-retry
Oct 27, 2026
Merged

7schmiede merged 1 commit into
mainfrom
test/hub-start-port-retry

Conversation

@7schmiede

Copy link
Copy Markdown
Member

What and why

main went red once on macOS (run for e5ca748, a_failed_start_is_reported): the test's hub exited with status 1 before it was up; the same job passed when run again. The hub's stderr went to /dev/null, so the failure said nothing about why.

  • The test hub's stderr goes to hub-test.err in its home; an early exit quotes it.
  • start() (a free port) takes another port, up to three tries, when the hub says its port was taken (port <n>: …, checked on Windows with a held port). Any other early exit still fails the test at once.

No review card: tests only.

🤖 Generated with Claude Code

macOS CI failed once on main (e5ca748, a_failed_start_is_reported): the
test's hub exited with status 1 before it was up, and the job passed
when run again. The hub's stderr went nowhere; it now goes to a file the
failure quotes, and start() takes another port when the hub says its
port was taken.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@7schmiede
7schmiede merged commit f078d2a into main Oct 27, 2026
13 checks passed
@7schmiede
7schmiede deleted the test/hub-start-port-retry branch October 27, 2026 22:54
@7schmiede 7schmiede mentioned this pull request Oct 27, 2026
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