- Notifications
You must be signed in to change notification settings - Fork1k
Commitdb01ace
committed
feat(mcp): add experiment control for MCP server HTTP endpoints
- Add ExperimentMCPServerHTTP constant for controlled rollout- Refactor OAuth2 middleware into generic experiment middleware- Make experiment middleware variadic to support multiple experiments- Apply experiment gating to /api/experimental/mcp/http routes- Maintain development mode bypass for testing flexibility- Remove OAuth2-specific middleware in favor of reusable patternChange-Id: Ia5b3d0615f4a5a45e5a233b1ea92e8bdc0a5f17eSigned-off-by: Thomas Kosiewski <tk@coder.com>1 parent13103fd commitdb01ace
File tree
9 files changed
+93
-34
lines changed- coderd
- apidoc
- httpmw
- codersdk
- docs/reference/api
- site/src/api
9 files changed
+93
-34
lines changedSome generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
922 | 922 |
| |
923 | 923 |
| |
924 | 924 |
| |
925 |
| - | |
| 925 | + | |
926 | 926 |
| |
927 | 927 |
| |
928 | 928 |
| |
| |||
973 | 973 |
| |
974 | 974 |
| |
975 | 975 |
| |
| 976 | + | |
| 977 | + | |
| 978 | + | |
976 | 979 |
| |
977 | 980 |
| |
978 | 981 |
| |
| |||
1473 | 1476 |
| |
1474 | 1477 |
| |
1475 | 1478 |
| |
1476 |
| - | |
| 1479 | + | |
1477 | 1480 |
| |
1478 | 1481 |
| |
1479 | 1482 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
| 6 | + | |
6 | 7 |
| |
| 8 | + | |
7 | 9 |
| |
8 | 10 |
| |
9 | 11 |
| |
10 | 12 |
| |
11 |
| - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
12 | 16 |
| |
13 | 17 |
| |
14 |
| - | |
15 |
| - | |
16 |
| - | |
17 |
| - | |
18 |
| - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
19 | 41 |
| |
| 42 | + | |
20 | 43 |
| |
21 | 44 |
| |
22 | 45 |
| |
23 | 46 |
| |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 |
| - | |
20 | 19 |
| |
21 | 20 |
| |
22 | 21 |
| |
| |||
37 | 36 |
| |
38 | 37 |
| |
39 | 38 |
| |
40 |
| - | |
41 |
| - | |
42 |
| - | |
43 |
| - | |
44 |
| - | |
45 |
| - | |
46 |
| - | |
47 |
| - | |
48 |
| - | |
49 |
| - | |
50 |
| - | |
51 |
| - | |
52 |
| - | |
53 | 39 |
| |
54 | 40 |
| |
55 | 41 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| 19 | + | |
| 20 | + | |
19 | 21 |
| |
20 | 22 |
| |
21 | 23 |
| |
| |||
3342 | 3344 |
| |
3343 | 3345 |
| |
3344 | 3346 |
| |
| 3347 | + | |
3345 | 3348 |
| |
3346 | 3349 |
| |
| 3350 | + | |
| 3351 | + | |
| 3352 | + | |
| 3353 | + | |
| 3354 | + | |
| 3355 | + | |
| 3356 | + | |
| 3357 | + | |
| 3358 | + | |
| 3359 | + | |
| 3360 | + | |
| 3361 | + | |
| 3362 | + | |
| 3363 | + | |
| 3364 | + | |
| 3365 | + | |
| 3366 | + | |
| 3367 | + | |
| 3368 | + | |
| 3369 | + | |
| 3370 | + | |
| 3371 | + | |
| 3372 | + | |
| 3373 | + | |
3347 | 3374 |
| |
3348 | 3375 |
| |
3349 | 3376 |
| |
| |||
3352 | 3379 |
| |
3353 | 3380 |
| |
3354 | 3381 |
| |
| 3382 | + | |
3355 | 3383 |
| |
3356 | 3384 |
| |
3357 | 3385 |
| |
| |||
3369 | 3397 |
| |
3370 | 3398 |
| |
3371 | 3399 |
| |
3372 |
| - | |
| 3400 | + | |
3373 | 3401 |
| |
3374 |
| - | |
3375 |
| - | |
3376 |
| - | |
3377 |
| - | |
3378 |
| - | |
3379 |
| - | |
| 3402 | + | |
3380 | 3403 |
| |
3381 | 3404 |
| |
3382 | 3405 |
| |
|
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
206 | 206 |
| |
207 | 207 |
| |
208 | 208 |
| |
209 |
| - | |
| 209 | + | |
210 | 210 |
| |
211 | 211 |
| |
212 | 212 |
| |
|
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
0 commit comments
Comments
(0)