Commit 8b03bec
Pin uint64 boundary round-trips for MetadataResponse and WelcomeResponse
Existing coverage for these two responses uses a single
representative value each (MetadataResponse: 1/50; WelcomeResponse:
15000). Both fields are declared uint64 on the wire; a refactor
that narrowed either to int64 or int32 would still pass the one
happy-path test. Add parametrised round-trips covering UINT32_MAX,
high-bit mid-range, and UINT64_MAX so the wire contract is fenced.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 484b2bc commit 8b03bec
1 file changed
Lines changed: 31 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
109 | 121 | | |
110 | 122 | | |
111 | 123 | | |
| |||
1304 | 1316 | | |
1305 | 1317 | | |
1306 | 1318 | | |
| 1319 | + | |
| 1320 | + | |
| 1321 | + | |
| 1322 | + | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
| 1327 | + | |
| 1328 | + | |
| 1329 | + | |
| 1330 | + | |
| 1331 | + | |
| 1332 | + | |
| 1333 | + | |
| 1334 | + | |
| 1335 | + | |
| 1336 | + | |
| 1337 | + | |
1307 | 1338 | | |
1308 | 1339 | | |
1309 | 1340 | | |
| |||
0 commit comments