Repository navigation
Commit 7e58341
fix(server): answer every plugin result with a message the server can read
A handler result with no JSON form (a function, a symbol, or a toJSON that
returns undefined) was sent as a Succeeded reply without its value, and a
result whose serialization threw a long message overran the 2000-character
Failed limit once prefixed. The server could not decode either line and
killed the child as malformed, counting it against the restart budget.
Both now come back as an ordinary failed call.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>1 parent c63ec5c commit 7e58341
1 file changed
Lines changed: 12 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
62 | | - | |
| 63 | + | |
63 | 64 | | |
64 | | - | |
| 65 | + | |
65 | 66 | | |
66 | | - | |
| 67 | + | |
67 | 68 | | |
68 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
69 | 76 | | |
70 | 77 | | |
71 | 78 | | |
| |||
0 commit comments