Follow-up from PR #2112's EBUSY teardown fix (deliberately left out of that PR because it changes behavior only on lanes that are currently green and could not be verified from the Windows box).
stopWithServer in scripts/ci/dev-up.test.mjs's helperSource calls server.close(cb), whose callback never fires while a connection is open. On Windows this is inert (the SIGTERM handler does not run — measured under Git Bash in the #2112 investigation), but on the Linux/macOS lanes a stub can outlive TERM indefinitely. Fix direction: server.closeAllConnections() before/with close.
Acceptance: stub exits promptly on TERM on all three platforms; the dev-up test file stays green on every lane.
Refs #2111 #2112
Follow-up from PR #2112's EBUSY teardown fix (deliberately left out of that PR because it changes behavior only on lanes that are currently green and could not be verified from the Windows box).
stopWithServerinscripts/ci/dev-up.test.mjs'shelperSourcecallsserver.close(cb), whose callback never fires while a connection is open. On Windows this is inert (the SIGTERM handler does not run — measured under Git Bash in the #2112 investigation), but on the Linux/macOS lanes a stub can outlive TERM indefinitely. Fix direction:server.closeAllConnections()before/with close.Acceptance: stub exits promptly on TERM on all three platforms; the dev-up test file stays green on every lane.
Refs #2111 #2112