Dashboard › cli › Distillation
c30fdc1c-7c8a-4254-b827-074a8765c94f["lore_tm_v1_uY2PJ22MLHH1w9lOrBAtbfIeUjY4R2nSgvQ7igSAfKo","lore_tm_v1_FuaI6yAiiXWG3WGithTFreKvvl9-nzqQF2nMhZ9f7Fc","lore_tm_v1_8qHGNXjEh3c4A0uOb9ZbMJVhLC4D2K0NKcDihC_am_w","lore_tm_v1_5XgnjAVMC999AC-N7iSFQA1mK7uk_VvKMJbAaCJN6s4","lore_tm_v1_e3ctyGx_yHW6M9V4IKtjBtqWpSz3XB1aRTbz-YF2Wt0","lore_tm_v1_wB74I-Go8NDIqQrU-cS-ufuG6I1BRLtVLlufCvbpNOU","lore_tm_v1_3Fp7NJnvinNiSA6ju6CuDcA8CCuLDIIA5VoUOvoLaFs","lore_tm_v1_7tNMlycH4-2Nbu97y-lHs5M9n-sDpvKCpZJUlgxdpBE","lore_tm_v1_R_d_D_cj_8Hm66fWd5sIV_Zv9QeEYEi3P1swl3a4r0Y","lore_tm_v1_eHSIrO3JoAy8kICfFPJndTIv1pPTaOmsKx6wqryiMdc","lore_tm_v1_sKbVwY3-TOG5JUFcLPG0YfdVumWVvBz8FT-xMeJkSOk","lore_tm_v1_n3GGDQOLXeOGBJV8bnelHiEbkIb9tE_4HMP9NHpdnsI"]
Date: Sep 10, 2026
src/lib/api/sourcemaps.ts), Content-Type is never lost to a raw application/octet-stream.packages/cli/src/lib/sentry-client.ts was updated.fetch call shape: test/lib/sentry-client.test.ts had 2 failures, retries a POST with a string body without re-consuming the body and retries with a ReadableStream body by materializing once. Both expected the original body twice but received "<empty>" twice; 20 of 22 tests passed across 2 files.fetch shape to retain retry-body behavior; use manual Request handling only after a redirect. Initial manual-request-on-first-call approach was rejected because it caused POST string and ReadableStream bodies to be empty on both attempts.packages/cli/src/lib/sentry-client.ts was updated to correct the initial-fetch-shape/retry-body regression.v4.1.10 in packages/cli, 2 test files passed and 22 tests passed; duration 10.33s (transform 4.22s, setup 230ms, import 5.01s, tests 8.61s, environment 0ms). Vitest emitted the test.poolOptions removal deprecation warning; auth logs again stated stored OAuth login was used despite SENTRY_AUTH_TOKEN, unless SENTRY_FORCE_ENV_TOKEN=1..lore.md; 9 skill reference files under packages/cli/plugins/sentry-cli/skills/sentry-cli/references/ (dashboard.md, event.md, explore.md, feedback.md, issue.md, log.md, replay.md, span.md, trace.md); packages/cli/src/lib/constants.ts; packages/cli/src/lib/region.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. Diff total: 15 files changed, 744 insertions, 357 deletions.packages/cli/src/lib/region.ts changed region-resolution fallback from getSentryBaseUrl() to getApiBaseUrl(): it now imports getApiBaseUrl from ./sentry-client.js, no longer imports getSentryBaseUrl from ./sentry-urls.js, uses const baseUrl = getApiBaseUrl(), and returns that base API URL for non-auth failures (network, 404, etc.), including self-hosted instances without multi-region.Request inputs need to be cloned before the initial fetch consumes their body, so a subsequent redirect can retain the body.packages/cli/src/lib/sentry-client.ts and packages/cli/test/lib/sentry-client.test.ts were updated to clone SDK Request inputs before initial fetch consumption and add a regression test.v4.1.10 in packages/cli, 2 test files passed and 23 tests passed; duration 11.02s (transform 5.41s, setup 218ms, import 6.26s, tests 8.99s, environment 0ms). The same Vitest test.poolOptions deprecation warning and stored-OAuth-vs-SENTRY_AUTH_TOKEN auth logs appeared.307 redirect retains a Request body, while the security test establishes that an untrusted redirect makes no second request.