Repository navigation
Commit b2509f8
committed
fix(plugin-hono-server): a request for port 0 no longer warns that port 0 is in use
kernel:listening compared the requested port with the bound one and warned
whenever they differed. Port 0 asks for a kernel-assigned port, so the two
can never match and nothing was in use. The warning now fires only for a
non-zero request the adapter's EADDRINUSE walk moved; the started line
already names the bound port.
The released-port ledger's reason for serve-port-drift-notice.e2e.test.ts
quoted that warning as why its negative arm cannot use --port 0. It now
states only the arm's subject: a non-zero request, which --port 0 cannot ask.
Claude-Session: https://claude.ai/code/session_01SYEJqDL3NXxrJRBVqaMu9T
Co-authored-by: Claude <noreply@anthropic.com>1 parent c18c1ff commit b2509f8
3 files changed
Lines changed: 17 additions & 3 deletions
File tree
- .changeset
- packages
- cli/test
- plugins/plugin-hono-server/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
90 | | - | |
| 89 | + | |
91 | 90 | | |
92 | 91 | | |
93 | 92 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
709 | 709 | | |
710 | 710 | | |
711 | 711 | | |
712 | | - | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
713 | 718 | | |
714 | 719 | | |
715 | 720 | | |
| |||
0 commit comments