Skip to content

fix: fix bug when re-listening the server#16

Merged
gmaclennan merged 4 commits intomainfrom
fix/server-restart
Feb 9, 2026
Merged

fix: fix bug when re-listening the server#16
gmaclennan merged 4 commits intomainfrom
fix/server-restart

Conversation

@gmaclennan
Copy link
Member

Ensures that when the server is restarted with listen() after close(), the getRemotePort function returns the new port values instead of the stale values from the previous listen() call.

gmaclennan and others added 3 commits February 9, 2026 11:27
The deferredListen promise is not reset when close() is called, causing
getRemotePort() to return stale port values after server restart.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Ensures that when the server is restarted with listen() after close(),
the getRemotePort function returns the new port values instead of the
stale values from the previous listen() call.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@gmaclennan gmaclennan enabled auto-merge (squash) February 9, 2026 12:21
@gmaclennan gmaclennan self-assigned this Feb 9, 2026
@gmaclennan gmaclennan merged commit 4d31316 into main Feb 9, 2026
12 checks passed
@gmaclennan gmaclennan deleted the fix/server-restart branch February 9, 2026 17:39
@codecov
Copy link

codecov bot commented Feb 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (a2bed04) to head (49a6317).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@    Coverage Diff     @@
##   main   #16   +/-   ##
==========================
==========================

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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