Skip to content

fix(cli): Drop await from three getOrgSdkConfig calls - #2081

Merged
BYK merged 1 commit into
mainfrom
fix/cli-lint-await-non-promise
Nov 7, 2026
Merged

BYK merged 1 commit into
mainfrom
fix/cli-lint-await-non-promise

Conversation

@sentry-junior

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

Copy link
Copy Markdown
Contributor

main fails Repository quality, sentry and test on three oxlint errors ("Unexpected await of a non-Promise value"):

  • packages/cli/src/lib/api/explore.ts:105
  • packages/cli/src/lib/api/issues.ts:625 and :672

#1979 made getOrgSdkConfig() synchronous and argument-free. #2078, which merged just before it, added these three call sites in the old await getOrgSdkConfig(orgSlug) form. Each PR passed on its own. This changes them to getOrgSdkConfig(), like the other call sites.

The org slug those calls passed was already unused. #1979 routes org-scoped requests through resolveBaseUrl, which reads the org from the request path.

via @BYK.

--

View Session in Sentry

#1979 made getOrgSdkConfig() synchronous and argument-free, and #2078,
which merged just before it, added three call sites with the old
await getOrgSdkConfig(orgSlug) form. oxlint fails main on the await of
a non-Promise value. Use getOrgSdkConfig() like the other call sites.

Co-Authored-By: BYK <[email protected]>
@vercel

vercel Bot commented Nov 7, 2026

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated
sentry-local Skipped Skipped Nov 7, 2026 9:41am UTC

Request Review

@github-actions github-actions Bot added the risk: low PR risk score: low label Nov 7, 2026
@BYK
BYK merged commit 664bfbc into main Nov 7, 2026
26 checks passed
@BYK
BYK deleted the fix/cli-lint-await-non-promise branch November 7, 2026 09:53

This branch was previously deployed

1 inactive deployment
Preview — 1769ce6a Deployed Nov 7, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: low PR risk score: low

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant