ci(e2e): use !cancelled() rather than always()#3229
Conversation
📝 WalkthroughWalkthroughThe changes in the Changes
Possibly related PRs
Suggested reviewers
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
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
|
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Outside diff range and nitpick comments (1)
.github/workflows/e2e.yml (1)
Line range hint
107-284: Consider documenting the cancellation behaviorWhile the changes are correct, it would be beneficial to add a comment explaining the cancellation behavior for future maintainers.
Add a comment above each job:
+ # Skip execution if the workflow was cancelled if: ${{ !cancelled() }}
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
📒 Files selected for processing (1)
.github/workflows/e2e.yml(3 hunks)
🔇 Additional comments (2)
.github/workflows/e2e.yml (2)
220-220: LGTM: Enhanced e2e job execution control
The condition change improves resource utilization by preventing unnecessary test execution when the workflow is cancelled.
284-284: LGTM: Refined e2e-ok job condition
The modification ensures proper handling of the final status check job, maintaining consistency with the upstream jobs' behavior.
It is suggested in the docs to use this: https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/evaluate-expressions-in-workflows-and-actions#always
This should make concurrency cancellations work again
Summary by CodeRabbit