-
Notifications
You must be signed in to change notification settings - Fork 1.2k
ci: avoid killing the CI script itself on functional test error #6512
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
ci: avoid killing the CI script itself on functional test error #6512
Conversation
1a69226 to
8413621
Compare
WalkthroughThe pull request modifies the 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🔇 Additional comments (1).gitlab-ci.yml (1)
The addition of Let's verify the test job configurations: Consider adding documentation about:
✅ Verification successfulVariable is correctly integrated and serves its intended purpose After reviewing the codebase, I can confirm that:
The implementation is correct and safe because:
🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Verify test job configurations to ensure proper log collection
# Check if all test jobs inherit from .test-template and have proper artifact collection
# Look for test jobs and their configuration
rg "^[^.#].*-test:\$" -A 10
# Verify artifact collection in .test-template
rg "^\.test-template:" -A 20
Length of output: 59 Script: #!/bin/bash
# Let's try a different approach to find test-related configurations
# First, let's see the content of .gitlab-ci.yml
cat .gitlab-ci.yml
# Also search for any references to CI_FAILFAST_TEST_LEAVE_DANGLING
rg "CI_FAILFAST_TEST_LEAVE_DANGLING" -B 2 -A 2
Length of output: 10511 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
CodeRabbit Configuration File (
|
PastaPastaPasta
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK 8413621
knst
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 8413621
Issue being fixed or feature implemented
We kill CI script on test errors and it can't collect logs.
What was done?
Set
CI_FAILFAST_TEST_LEAVE_DANGLINGenv variable to avoid that.How Has This Been Tested?
1a69226: https://gitlab.com/dashpay/dash/-/jobs/8727924503
Breaking Changes
Checklist: