Repository navigation
Commit e9761e7
client: a bind written to an exited worker is a ClientError on Windows too
BindRequest grew by ~450 bytes (arguments_location), which pushes the
client's bind request past the Windows pipe buffer. Writing it to a worker
that already exited then raises a plain OSError (EINVAL) instead of
BrokenPipeError, which vgi-rpc does not treat as a transport error, so the
worker-exit tests saw OSError rather than ClientError. _do_bind now maps an
OSError from sending the request to ClientError (stderr enrichment still
applies upstream).
Also route the tests' BindRequest.arguments reads through
require_arguments() so `mypy tests/` passes with the nullable field.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 81258a7 commit e9761e7
5 files changed
Lines changed: 12 additions & 6 deletions
File tree
- tests
- catalog
- vgi/client
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
| 148 | + | |
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1767 | 1767 | | |
1768 | 1768 | | |
1769 | 1769 | | |
| 1770 | + | |
| 1771 | + | |
| 1772 | + | |
| 1773 | + | |
| 1774 | + | |
| 1775 | + | |
1770 | 1776 | | |
1771 | 1777 | | |
1772 | 1778 | | |
| |||
0 commit comments