Repository navigation
Commit 0c93147
fix(alerts): accept string Sentry App statuses (#1338)
Fix `get_alert_options` for organizations with Sentry Apps. Sentry
returns app status as a string such as `published`; expecting a number
rejected the entire actions page, including paginated and
provider-filtered requests.
Match the native status type in API parsing and the generated output
schema. The existing mixed-provider pagination test now uses the real
status shape and validates the output contract.
Verified with TypeScript, lint, build and 2,184 passing tests. Read-only
local MCP QA against live data passed full discovery, both cursor pages
and the Sentry App filter.
Related to #1074.
Co-authored-by: GPT-6 (Codex) <noreply@openai.com>1 parent 83f6f30 commit 0c93147
3 files changed
Lines changed: 4 additions & 3 deletions
File tree
- packages/mcp-core/src
- api-client
- tools/catalog
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
326 | | - | |
| 326 | + | |
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4438 | 4438 | | |
4439 | 4439 | | |
4440 | 4440 | | |
4441 | | - | |
| 4441 | + | |
4442 | 4442 | | |
4443 | 4443 | | |
4444 | 4444 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
| 176 | + | |
176 | 177 | | |
177 | 178 | | |
178 | 179 | | |
| |||
0 commit comments