Commit bc00453
ci(deploy): smoke accepts 403 (SDK v6 invalid-bearer status) (#3882)
First run of #3879's gate tripped on every per-tenant URL: SDK v6 returns
403 Forbidden for an invalid bearer where v5 returned 401. The smoke
only accepted 200|401, so a misconfigured `secrets.PUBLIC_TEST_AGENT_TOKEN`
false-failed the deploy even though all 7 tenants were healthy (verified
out-of-band with the documented public token: 200 + correct tool count
on every path).
200, 401, and 403 all prove the same thing — registry resolved, MCP
route alive. The bug modes this gate protects against (404 / 5xx) are
pre-auth and unaffected.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 3302c8c commit bc00453
2 files changed
Lines changed: 11 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
110 | 112 | | |
111 | 113 | | |
112 | 114 | | |
| |||
131 | 133 | | |
132 | 134 | | |
133 | 135 | | |
134 | | - | |
| 136 | + | |
135 | 137 | | |
136 | 138 | | |
137 | 139 | | |
| |||
140 | 142 | | |
141 | 143 | | |
142 | 144 | | |
143 | | - | |
| 145 | + | |
144 | 146 | | |
145 | 147 | | |
146 | 148 | | |
| |||
0 commit comments