Commit 2ccfae9
Carry RateLimitMiddleware through vMCP buildServeConfig (#5500)
#5276 added Config.RateLimitMiddleware and wired it on the New/Config
path, but the parallel Serve/ServerConfig migration API was not extended:
ServerConfig had no RateLimitMiddleware field and buildServeConfig did
not map it, so TestBuildServeConfigMapsSharedFields fails on main and the
Serve path would silently drop rate limiting.
Add the field to ServerConfig, map it in buildServeConfig, and set it in
the completeness test's source config so a dropped mapping keeps failing
the test.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 8da9029 commit 2ccfae9
2 files changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
72 | 76 | | |
73 | 77 | | |
74 | 78 | | |
| |||
302 | 306 | | |
303 | 307 | | |
304 | 308 | | |
| 309 | + | |
305 | 310 | | |
306 | 311 | | |
307 | 312 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
| 350 | + | |
350 | 351 | | |
351 | 352 | | |
352 | 353 | | |
| |||
0 commit comments