Skip to content

fix(cli): use the context-scoped origin trust check in the wizard login - #2559

Merged
BYK merged 1 commit into
mainfrom
fix/cli-wizard-request-origin-trust
Nov 27, 2026
Merged

BYK merged 1 commit into
mainfrom
fix/cli-wizard-request-origin-trust

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

#2548 removed isRequestOriginTrusted while #2519 still used it in the wizard's login check, so main no longer builds.

This uses isRequestOriginTrustedForContext with getCredentialContext(), the same check the removed helper did. Behaviour doesn't change.

via @BYK.

--

View Session [Sentry]

Co-Authored-By: BYK <126780+BYK@users.noreply.github.com>
@sentry-junior
sentry-junior Bot requested a review from BYK November 27, 2026 14:34
@vercel

vercel Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
cli Ready Ready Preview Nov 27, 2026 2:34pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
sentry-local Skipped Skipped Nov 27, 2026 2:34pm UTC

Request Review

@BYK
BYK enabled auto-merge (squash) November 27, 2026 14:35
@BYK
BYK merged commit 680ea12 into main Nov 27, 2026
28 checks passed
@BYK
BYK deleted the fix/cli-wizard-request-origin-trust branch November 27, 2026 14:49
sentry-junior Bot added a commit that referenced this pull request Nov 27, 2026
#2519 and #2520 were squash-merged into main, so this
branch's base is now main. The add/add conflicts came from the squashed
wizard files. main's copies of run.ts and test/commands/wizard.test.ts
equal f0a48de, which this branch already merged, so this branch's
Android and Flutter additions are kept. project-data.ts and its test take
main's copy, which has the #2559 fix for the origin trust check.

Co-Authored-By: BYK <126780+BYK@users.noreply.github.com>
sentry-junior Bot added a commit that referenced this pull request Nov 27, 2026
#2519 and #2520 were squash-merged, so this PR's base
is now main. Resolved the add/add conflicts: run.ts keeps this branch's
runner registrations (main's copy equals the old base), and
project-data.ts and its test take main's copy, with the #2559
context-scoped origin trust fix (this branch didn't change them).

Co-Authored-By: BYK <126780+BYK@users.noreply.github.com>

This branch was successfully deployed

1 active and 1 inactive deployments
Preview – cli — 5a6fdfbb Deployed Nov 27, 2026 by vercel[bot]
Preview – sentry-local — 5a6fdfbb Deployed Nov 27, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: medium PR risk score: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant