Skip to content

ci: add rerun workflow for module CI failures#730

Merged
imbajin merged 3 commits into
apache:masterfrom
contrueCT:task/migrate-rerun-ci
May 8, 2026
Merged

ci: add rerun workflow for module CI failures#730
imbajin merged 3 commits into
apache:masterfrom
contrueCT:task/migrate-rerun-ci

Conversation

@contrueCT
Copy link
Copy Markdown
Contributor

Purpose of the PR

Migrate the verified Rerun CI workflow from the HugeGraph main repository to HugeGraph Toolchain, so failed module CI runs can automatically rerun failed jobs.

Main Changes

  • Add .github/workflows/rerun-ci.yml.
  • Watch Toolchain module CI workflows:
    • java-client-ci
    • loader-ci
    • tools-ci
    • hubble-ci
    • spark-connector-ci
    • go-client-ci
  • Automatically rerun failed jobs for failed push and pull_request workflow runs.
  • Keep the retry policy consistent with the main repository:
    • max automatic reruns: 2
    • delay before rerun: 180 seconds
  • Add a job-level failure condition so non-failed workflow runs are skipped before entering the decision script.

Verifying these changes

  • Verified the watched workflow names match the existing Toolchain workflow name: values.
  • Maven tests were not run because this change only adds GitHub Actions configuration.
  • Trivial rework / code cleanup without any test coverage. (No Need)
  • Already covered by existing tests, such as (please modify tests here).
  • Need tests and can be verified as follows:
    • git diff --check.

Does this PR potentially affect the following parts?

  • Nope
  • Dependencies (add/update license info)
  • Modify configurations
  • The public API
  • Other affects (typed here)

Documentation Status

  • Doc - TODO
  • Doc - Done
  • Doc - No Need

@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. ci Continuous integration labels Apr 26, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 51.58%. Comparing base (b066b80) to head (01471ed).
⚠️ Report is 78 commits behind head on master.

❗ There is a different number of reports uploaded between BASE (b066b80) and HEAD (01471ed). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (b066b80) HEAD (01471ed)
2 1
Additional details and impacted files
@@              Coverage Diff              @@
##             master     #730       +/-   ##
=============================================
- Coverage     62.49%   51.58%   -10.92%     
+ Complexity     1903      973      -930     
=============================================
  Files           262      111      -151     
  Lines          9541     5858     -3683     
  Branches        886      753      -133     
=============================================
- Hits           5963     3022     -2941     
+ Misses         3190     2575      -615     
+ Partials        388      261      -127     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label May 8, 2026
@imbajin imbajin merged commit 993f92e into apache:master May 8, 2026
15 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Continuous integration lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants