fix: updated the plan command error message when root cause analysis is not done#162
Closed
MathurAditya724 wants to merge 2 commits intomainfrom
Closed
fix: updated the plan command error message when root cause analysis is not done#162MathurAditya724 wants to merge 2 commits intomainfrom
MathurAditya724 wants to merge 2 commits intomainfrom
Conversation
Contributor
Semver Impact of This PR🟢 Patch (bug fixes) 📋 Changelog PreviewThis is how your changes will appear in the changelog. New Features ✨
Bug Fixes 🐛
🤖 This preview updates automatically when you update the PR. |
Contributor
Codecov Results 📊✅ Patch coverage is 100.00%. Project has 2022 uncovered lines. Files with missing lines (29)
Coverage diff@@ Coverage Diff @@
## main #PR +/-##
==========================================
+ Coverage 69.20% 69.20% —%
==========================================
Files 57 57 —
Lines 6565 6565 —
Branches 0 0 —
==========================================
+ Hits 4543 4543 —
- Misses 2022 2022 —
- Partials 0 0 —Generated by Codecov Action |
BYK
reviewed
Feb 4, 2026
| throw new ValidationError( | ||
| "No root causes identified. Cannot create a plan without a root cause." | ||
| `Root cause analysis found no causes for issue ${issueId}.\n` + | ||
| `Try running 'sentry issue explain ${issueId} --force' to retry the analysis.` |
Member
There was a problem hiding this comment.
I'd say we should go one step further and offer to run this for the user if this stdin.isTTY is true
BYK
approved these changes
Feb 4, 2026
Member
Author
|
Closing this in favour of #185 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.