fix(release-delete): enrich error for releases with health data (CLI-14K)#749
fix(release-delete): enrich error for releases with health data (CLI-14K)#749
Conversation
Semver Impact of This PR🟢 Patch (bug fixes) 📋 Changelog PreviewThis is how your changes will appear in the changelog. New Features ✨
Bug Fixes 🐛Init
Resolve
Upgrade
Other
Internal Changes 🔧
🤖 This preview updates automatically when you update the PR. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 0b57b60. Configure here.
3fad649 to
51f7a20
Compare
|
Codecov Results 📊✅ 134 passed | Total: 134 | Pass Rate: 100% | Execution Time: 0ms 📊 Comparison with Base Branch
✨ No test changes detected All tests are passing successfully. ✅ Patch coverage is 100.00%. Project has 1623 uncovered lines. Coverage diff@@ Coverage Diff @@
## main #PR +/-##
==========================================
+ Coverage 95.30% 95.33% +0.03%
==========================================
Files 234 234 —
Lines 34675 34740 +65
Branches 0 0 —
==========================================
+ Hits 33046 33117 +71
- Misses 1629 1623 -6
- Partials 0 0 —Generated by Codecov Action |

Summary
ApiErrorfrom the Sentry API when deleting a release and replace it with a clear, actionable message explaining that releases with active session/crash-free data are protected and must age outtest/commands/release/delete.test.tswith 8 tests covering happy path, dry-run, error enrichment, and passthrough for unrelated errorsFixes CLI-14K
Before
After
Not in scope
--forceflag semantics unchanged (confirmation bypass only, consistent across all delete commands)