Skip to content

Conversation

@xiangfu0
Copy link
Contributor

@xiangfu0 xiangfu0 commented Dec 3, 2025

Hope this will improve the CI pass rate for maven transient error and some flaky tests.

Downside is that this may shade some real issue from the flaky tests.

@xiangfu0 xiangfu0 requested a review from Copilot December 3, 2025 21:53
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds retry logic to Maven build and test steps in GitHub Actions workflows to improve CI stability by handling transient Maven errors and flaky tests. The changes wrap existing Maven commands with the nick-fields/retry@v3 action, configured with 3 retry attempts, 20-second wait intervals, and 120-minute timeouts.

Key changes:

  • Wraps all Maven-related workflow steps (build, test, linting, compatibility checks) with retry logic
  • Applies consistent retry configuration across all affected steps: 3 max attempts, 20s wait between retries, 120min timeout
  • Covers three workflow files: main test workflow, multi-stage query engine compatibility tests, and general compatibility tests

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
.github/workflows/pinot_tests.yml Adds retry wrapper to 13 Maven-related steps including dependency installation, linting, builds, unit/integration tests, and report generation
.github/workflows/pinot_multi_stage_query_engine_compatibility_tests.yml Adds retry wrapper to compatibility verifier step
.github/workflows/pinot_compatibility_tests.yml Adds retry wrapper to compatibility verifier step

@codecov-commenter
Copy link

codecov-commenter commented Dec 3, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 63.29%. Comparing base (f46f631) to head (ae649b8).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master   #17316      +/-   ##
============================================
+ Coverage     63.28%   63.29%   +0.01%     
  Complexity     1474     1474              
============================================
  Files          3135     3135              
  Lines        186476   186476              
  Branches      28495    28495              
============================================
+ Hits         118003   118039      +36     
+ Misses        59360    59322      -38     
- Partials       9113     9115       +2     
Flag Coverage Δ
custom-integration1 100.00% <ø> (ø)
integration 100.00% <ø> (ø)
integration1 100.00% <ø> (ø)
integration2 0.00% <ø> (ø)
java-11 63.25% <ø> (+0.01%) ⬆️
java-21 63.26% <ø> (+0.02%) ⬆️
temurin 63.29% <ø> (+0.01%) ⬆️
unittests 63.29% <ø> (+0.01%) ⬆️
unittests1 55.69% <ø> (+0.02%) ⬆️
unittests2 33.93% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

@xiangfu0 xiangfu0 force-pushed the github-action-retry-failure branch from f14e054 to 36ee82b Compare December 8, 2025 21:33
@xiangfu0 xiangfu0 force-pushed the github-action-retry-failure branch from 36ee82b to ae649b8 Compare December 8, 2025 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants