-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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: Fix re-runs in server suite #39429
Conversation
WalkthroughThe workflow file ( Changes
Sequence Diagram(s)sequenceDiagram
participant CI as CI Workflow
participant Script as Build Script
participant Log as Test Log
CI->>Script: Initiate server build process
Script->>Log: Read mvn_test.log file
Log-->>Script: Provide log lines (e.g., "SKIPPED" messages)
Script->>Script: Filter and store SKIPPED modules
Script-->>CI: Output results with skipped modules only
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
.github/workflows/server-build.yml (1)
279-281
: Minor Formatting Adjustment in PR Comment Posting.
There appears to be an extra newline (or whitespace change) before the PR comment submission. Although this does not impact functionality, please verify that the formatting is consistent with your overall style guidelines.
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/server-build.yml
(2 hunks)
🔇 Additional comments (1)
.github/workflows/server-build.yml (1)
239-244
: Simplify Skipped Test Extraction.
The updated while-loop now focuses solely on capturing "SKIPPED" entries by module, thereby removing the previous logic that filtered out "FAILURE" lines. This change aligns with the PR objective by eliminating thefailed_modules
processing, ensuring that all failed tests are captured via the XML reports for re-run.
Description
Server suite passes on re-runs even if there's test failures. This is leading to false CI green.
This is because we're not adding all the failed tests to the failed test file. We look for failed tests in both the logs and surefire reports. Then we remove the failed-tests-found-in-logs, from the list of failed-tests-in-surefire, and only re-run the rest.
This PR is removing this logic of
failed_modules
.Slack conversation.
Automation
/ok-to-test tags=""
🔍 Cypress test results
Caution
If you modify the content in this section, you are likely to disrupt the CI result for your PR.
Communication
Should the DevRel and Marketing teams inform users about this change?
Summary by CodeRabbit