Dashboard › cli › Distillation
368710b7-6101-4c6d-a129-5ea1114d8d53["lore_tm_v1_kR5C5i3S8m1ypsmJzb_jjZb9PRgc6PzcjT3T8tcm_X8","lore_tm_v1_dBBaLi1gO3aT9qSK7OkTEK3ul9W080IGKx4sn323JG8","lore_tm_v1_p-STmzBOxaqwIjv74NZ95MjqH9_f3gOmZSK8X11b17Y","lore_tm_v1_6MNQLNF42-Sxrc8t5EY03FCwVKPwbqg-DVfvLHwzYYM","lore_tm_v1_y4RL_F4bW0t6tlRI8ur-39SdQCcPWGHF6MhwVnHTC6A","lore_tm_v1_yphFOWx8hwCDGTMxQfvU-4VL3wDVB1OPb0GK7B520qI","lore_tm_v1_SCkYPgAz6EaAlhs_nozwGbpgmTCKvglybVA71J_1b84","lore_tm_v1_zcDWrY3Ub_vmJIlthdQhIrT3qJExOyhNrZ0uTUu7eL4","lore_tm_v1_UPOc7BOnCSKE9WCCXSc7u5NxYuX-3bXlMqIWUK9su1s","lore_tm_v1_F_bpzKWBoKaPz2zdUxZ2D6Y6GeLbjdGycriiK_jw7qw","lore_tm_v1_0Blw_yzjg80bNz9pjjbNeIQdrngTZTjOoY3cXzhkrYY","lore_tm_v1_KRqw7_lnEgVzK7BNPsp5kcyvwWiwRwWz3oZeuzbQPao"]
Date: Sep 10, 2026
getConfiguredSentryUrl() is restored to explicit SENTRY_HOST/SENTRY_URL configuration only, while sentry-client API/control routing uses the active credential’s normalized host. Added regressions for stored OAuth precedence, blank-host precedence, and malformed claims in packages/cli/src/lib/constants.ts, packages/cli/src/lib/sentry-client.ts, packages/cli/test/lib/constants.test.ts, and packages/cli/test/lib/security/sntrys-claim-mismatch.test.ts.test/lib/security/sntrys-claim-mismatch.test.ts had 9 tests with 1 failure, “claim URL routes requests when no explicit URL is configured.” Root cause: newly added test("stored OAuth host takes precedence over an inactive env token claim", ...) at line 137 was accidentally nested inside the existing claim-routing test, which Vitest disallows.packages/cli/test/lib/security/sntrys-claim-mismatch.test.ts by moving the new tests into the surrounding suite.[auth] Detected SENTRY_AUTH_TOKEN env var but using stored login for stored OAuth user. Set SENTRY_FORCE_ENV_TOKEN=1 to prefer the env var.stored-oauth-token with explicit host https://stored.example.com takes precedence over an inactive SENTRY_AUTH_TOKEN sntrys_ claim for https://claimed.example.com; getApiBaseUrl() returns https://stored.example.com, and apiRequestToRegion() sends Bearer stored-oauth-token to https://stored.example.com/api/0/organizations/.sntrys_ claim URL "not a URL" causes getApiBaseUrl() to fall back to https://sentry.io.pnpm run typecheck, which executes pnpm run generate:docs && pnpm run generate:sdk && tsc --noEmit; documentation and SDK generators completed. Generated src/generated/banner-sixel.ts (640x155, sixel 4216 bytes), src/generated/search-parser.js (31.1 KB), src/generated/search-parser.d.ts, 32 command-doc pages plus CLI docs index/configuration pages, plugins/sentry-cli/skills/sentry-cli/SKILL.md plus 32 reference files, ../../apps/cli-docs/public/.well-known/skills/index.json, src/generated/skill-content.ts, src/sdk.generated.ts, and src/sdk.generated.d.cts; SDK generator discovered 105 commands. .env.local was absent and generation continued without it.pnpm lint (biome check --no-errors-on-unmatched --max-diagnostics=none ./) failed with 4 formatting-only errors after checking 951 files in 32s; Biome applied no fixes. Affected files: src/lib/constants.ts, src/lib/sentry-client.ts, test/lib/constants.test.ts, and test/lib/security/sntrys-claim-mismatch.test.ts. In particular, formatter requested indentation changes for getConfiguredSentryUrl(), getApiBaseUrl(), and getControlSiloUrl().