Skip to content

fix(cli): tighten project-scope checks for workflow detail and subpath installs - #2591

Open
sentry-junior[bot] wants to merge 2 commits into
mainfrom
fix/scope-workflow-and-subpath
Open

sentry-junior[bot] wants to merge 2 commits into
mainfrom
fix/scope-workflow-and-subpath

Conversation

@sentry-junior

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

Copy link
Copy Markdown
Contributor

Two follow-ups to the project-scope transport rules from #2549 and #2552.

  • Accept a scoped API served under a path, such as a self-hosted install at /sentry/api/0/, and send the scope's own lookups to the same root.
  • Look up a workflow through the project-filtered list before reading its detail, as other ID lookups do.

via @BYK.

--

View Session [Sentry]

sentry-junior Bot and others added 2 commits November 29, 2026 20:27
Read the API path after `/api/0/` wherever it starts, and send the
scope's own lookups to the same root, so a self-hosted install served
under a path, such as `/sentry`, keeps working in a scoped session.

Co-Authored-By: BYK <126780+BYK@users.noreply.github.com>
A workflow's detail names no project, so look it up through the
project-filtered workflow list first, and read it only when that list
includes it.

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

vercel Bot commented Nov 30, 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 30, 2026 9:41am UTC
1 Skipped Deployment
Project Deployment Actions Updated
sentry-local Skipped Skipped Nov 30, 2026 9:41am UTC

Request Review

@github-actions github-actions Bot added the risk: medium PR risk score: medium label Nov 30, 2026

This branch was successfully deployed

1 active and 1 inactive deployments
Preview – cli — 0ff6b8e6 Deployed Nov 29, 2026 by vercel[bot]
Preview – sentry-local — 0ff6b8e6 Deployed Nov 29, 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