Repository navigation
Share OAuth device polling intervals between CLI and MCP - #1423
Merged
Merged
Conversation
Co-Authored-By: GPT-6 Sol <agent@openai.com>
7 tasks done
joshuawayzwright
pushed a commit
to joshuawayzwright/sentry-mcp
that referenced
this pull request
Nov 16, 2026
## Summary Fixes getsentry#1423. - Preserve HTTP status text from API responses. - Report useful status and request context when a non-2xx response has an empty textual body. - Keep JSON responses machine-readable with a `{status, statusText, body}` envelope while applying `--fields` to the API body. - Preserve raw binary successes and summarize binary errors without emitting response bytes. - Classify every status outside the 2xx range consistently, including 3xx responses. ## Verification - `pnpm exec vitest run test/commands/api.test.ts test/e2e/api.test.ts` - `pnpm exec vitest run test/lib test/commands test/types test/script --coverage` - `pnpm run typecheck` - `pnpm run lint` - `git diff --check` The package `test:unit` wrapper failed before reporting results with `Unknown: ChildProcess.kill`; the equivalent direct Vitest command passed 9,243 tests with 16 skipped.
joshuawayzwright
pushed a commit
to joshuawayzwright/sentry-mcp
that referenced
this pull request
Nov 16, 2026
## Summary Fixes getsentry#1423. - Preserve HTTP status text from API responses. - Report useful status and request context when a non-2xx response has an empty textual body. - Keep JSON responses machine-readable with a `{status, statusText, body}` envelope while applying `--fields` to the API body. - Preserve raw binary successes and summarize binary errors without emitting response bytes. - Classify every status outside the 2xx range consistently, including 3xx responses. ## Verification - `pnpm exec vitest run test/commands/api.test.ts test/e2e/api.test.ts` - `pnpm exec vitest run test/lib test/commands test/types test/script --coverage` - `pnpm run typecheck` - `pnpm run lint` - `git diff --check` The package `test:unit` wrapper failed before reporting results with `Unknown: ChildProcess.kill`; the equivalent direct Vitest command passed 9,243 tests with 16 skipped.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@sentry/toolkit-core/oauth-polland use it in both device flows.Part of #1469.
Validation
pnpm run tscandpnpm run lintpassed after generating the ignored CLI API schema.pnpm run testreached the 15-minute shell limit after the CLI suite; all remaining package suites passed when run separately.