ci(selfhost): pin sentry release cli#1741
Conversation
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-06-29 15:17:29 UTC
⏸️ Suggested Action - Manual Review
Review summary Nits — 5 non-blocking
Concerns raised — review before merging
Review context
Contributor next steps
Signal definitions
🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1741 +/- ##
=======================================
Coverage 95.58% 95.58%
=======================================
Files 204 204
Lines 22316 22316
Branches 8067 8067
=======================================
Hits 21331 21331
Misses 408 408
Partials 577 577 🚀 New features to boost your workflow:
|
Motivation
npx @sentry/cli@latestwas executed during the self-host release flow before the Dockerruntime-prebuiltimage build, which allowed a floating npm executable to modify the builtdist/server.mjsthat is later copied into the image.Description
npx -y @sentry/cli@latestin.github/workflows/release-selfhost.ymlwith a pinned, exact invocation using@sentry/[email protected]vianpx -y --package @sentry/[email protected] sentry-cliand reuse that command for release creation, commit association, source-map injection, upload, and finalization.Testing
git diff --checkwas run and passed locally.npm run actionlintwas attempted but the environment could not reach GitHub for the official setup and the WASM fallback reported an unrelated custom runner-label warning, so actionlint could not be fully validated in this environment.Codex Task