-
-
Notifications
You must be signed in to change notification settings - Fork 132
DEV-3480: Include Stack Name with Workflow Errors #1372
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
📝 WalkthroughWalkthroughThe changes update workflow error handling to ensure the stack parameter is included in error and resume commands when a workflow step fails. New tests and snapshots are added to verify that the error output correctly reflects the stack context in both the failed command and the suggested resume command. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant CLI
participant WorkflowEngine
User->>CLI: Run workflow with stack (e.g., fail-with-stack -s prod)
CLI->>WorkflowEngine: Execute workflow step
WorkflowEngine-->>CLI: Step fails
CLI->>User: Output error message with failed command (includes -s prod)
CLI->>User: Output resume command (includes -s prod)
Assessment against linked issues
Suggested labels
Suggested reviewers
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (1)
🧰 Additional context used📓 Path-based instructions (2)**/*.goInstructions used from: Sources:
**/*_test.goInstructions used from: Sources:
🧠 Learnings (2)📓 Common learnings
internal/exec/workflow_test.go (16)
🧬 Code Graph Analysis (1)internal/exec/workflow_test.go (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (5)
🔇 Additional comments (2)
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1372 +/- ##
==========================================
+ Coverage 53.81% 53.91% +0.10%
==========================================
Files 251 251
Lines 26863 26870 +7
==========================================
+ Hits 14456 14487 +31
+ Misses 10707 10682 -25
- Partials 1700 1701 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
These changes were released in v1.183.0. |
what
why
references
Summary by CodeRabbit