Skip to content

ci: add rerun workflow for module CI failures#730

Open
contrueCT wants to merge 2 commits intoapache:masterfrom
contrueCT:task/migrate-rerun-ci
Open

ci: add rerun workflow for module CI failures#730
contrueCT wants to merge 2 commits intoapache: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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Continuous integration size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant