Repository navigation
feat(cli): Add headless authentication bootstrap command - #1872
Merged
evanpurkhiser merged 1 commit intoNov 4, 2026
Merged
evanpurkhiser merged 1 commit into
evanpurkhiser merged 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
evanpurkhiser
changed the base branch from
main
to
git/feat-cli-bootstrap-account-credentials-from-setup-codes
November 3, 2026 18:44
This was referenced Nov 3, 2026
evanpurkhiser
force-pushed
the
git/feat-cli-add-headless-authentication-bootstrap-command
branch
from
November 3, 2026 19:09
0de629f to
c4675e3
Compare
evanpurkhiser
marked this pull request as ready for review
November 4, 2026 18:36
evanpurkhiser
force-pushed
the
git/feat-cli-add-headless-authentication-bootstrap-command
branch
from
November 4, 2026 18:42
c4675e3 to
d572cd0
Compare
evanpurkhiser
force-pushed
the
git/feat-cli-add-headless-authentication-bootstrap-command
branch
from
November 4, 2026 19:08
d572cd0 to
6bfbf8a
Compare
evanpurkhiser
force-pushed
the
git/feat-cli-add-headless-authentication-bootstrap-command
branch
from
November 4, 2026 19:29
6bfbf8a to
bf1d3e7
Compare
Base automatically changed from
git/feat-cli-bootstrap-account-credentials-from-setup-codes
to
main
November 4, 2026 20:11
evanpurkhiser
added a commit
that referenced
this pull request
Nov 4, 2026
The CLI needs to redeem Sentry's short-lived setup codes without opening a browser. Add the setup-code OAuth exchange, validate the issuing instance, and redact setup codes from diagnostics. Redemption sends the code once and refuses redirects. Backend dependency: getsentry/sentry#129325. Codes are generated internally by Sentry for specific clients; the generated onboarding instructions flow follows separately. https://linear.app/getsentry/issue/VDY-337 Validation on the complete stack: typing, lint, and focused authentication/setup tests pass. The full test run has 21 unrelated failures reproduced on unchanged upstream main in the installer musl-detection, time-range, and zip-writer suites. Native GitHub Stack: [#1874](https://github.com/getsentry/toolkit/stack/1874), ordered #1870 → #1871 → #1872 → #1873. Native bootstrap and shell installation passed against local OAuth redemption using internally generated codes. The shell test used a local artifact mirror for the unreleased binary.
evanpurkhiser
added a commit
that referenced
this pull request
Nov 4, 2026
Setup codes need to authenticate the CLI without disturbing other stored accounts. Add bootstrap credential handling using the existing host-scoped account storage, validate responses before replacing a login, and preserve credentials when redemption fails. Depends on #1870. Command and installer entry points follow separately. https://linear.app/getsentry/issue/VDY-337 Validation on the complete stack: typing, lint, and focused authentication/setup tests pass. The full test run has 21 unrelated failures reproduced on unchanged upstream main in the installer musl-detection, time-range, and zip-writer suites. Native GitHub Stack: [#1874](https://github.com/getsentry/toolkit/stack/1874), ordered #1870 → #1871 → #1872 → #1873. Native bootstrap and shell installation passed against local OAuth redemption using internally generated codes. The shell test used a local artifact mirror for the unreleased binary.
evanpurkhiser
force-pushed
the
git/feat-cli-add-headless-authentication-bootstrap-command
branch
from
November 4, 2026 20:42
bf1d3e7 to
fd686fc
Compare
evanpurkhiser
enabled stacked auto-merge (squash)
November 4, 2026 20:53
stacked auto-merge was automatically disabled
November 4, 2026 20:55
Replaced by a newer auto-merge request
evanpurkhiser
enabled stacked auto-merge (squash)
November 4, 2026 20:55
evanpurkhiser
deleted the
git/feat-cli-add-headless-authentication-bootstrap-command
branch
November 4, 2026 21:07
evanpurkhiser
added a commit
that referenced
this pull request
Nov 4, 2026
Depends on #1872. Let headless installs authenticate immediately when `SENTRY_SETUP_CODE` is supplied. The installer hands authentication to the same bootstrap implementation used by an existing CLI and propagates failures. https://linear.app/getsentry/issue/VDY-338 Validation on the complete stack: typing, lint, and focused authentication/setup tests pass. The full test run has 21 unrelated failures reproduced on unchanged upstream main in the installer musl-detection, time-range, and zip-writer suites. Native GitHub Stack: [#1874](https://github.com/getsentry/toolkit/stack/1874), ordered #1870 → #1871 → #1872 → #1873. Native bootstrap and shell installation passed against local OAuth redemption using internally generated codes. The shell test used a local artifact mirror for the unreleased binary.
This branch was previously deployed
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.
Allow an installed CLI to authenticate non-interactively with
SENTRY_SETUP_CODE=... sentry auth bootstrap. Depends on #1871. Expose the bootstrap helper through the existing authentication command group with JSON output, instance selection, and explicit replacement consent.https://linear.app/getsentry/issue/VDY-337
Validation on the complete stack: typing, lint, and focused authentication/setup tests pass. The full test run has 21 unrelated failures reproduced on unchanged upstream main in the installer musl-detection, time-range, and zip-writer suites.
Native GitHub Stack: #1874, ordered #1870 → #1871 → #1872 → #1873.
Native bootstrap and shell installation passed against local OAuth redemption using internally generated codes. The shell test used a local artifact mirror for the unreleased binary.