Commit 8b40fae
fix: attach auth header on RCA tool MCPInstrumentation events
fetchRCA, getBuildId and listTestIds called trackMCP with config in the
3rd (error) argument slot, leaving the config param undefined. Without
config, no Authorization header is attached and the /sdk/v1/event
endpoint silently drops the event (raise_error:false + .catch), so these
tools logged zero usage despite being invoked. Pass undefined as the
error arg and config as the 4th, matching the other tools.
Fixes AIMCP-187.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent a304aee commit 8b40fae
1 file changed
Lines changed: 18 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
152 | 157 | | |
153 | 158 | | |
154 | 159 | | |
| |||
162 | 167 | | |
163 | 168 | | |
164 | 169 | | |
165 | | - | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
166 | 176 | | |
167 | 177 | | |
168 | 178 | | |
| |||
176 | 186 | | |
177 | 187 | | |
178 | 188 | | |
179 | | - | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
180 | 195 | | |
181 | 196 | | |
182 | 197 | | |
| |||
0 commit comments