Skip to content

ci: introduce retry job to make it stable#1072

Merged
kenhys merged 1 commit into
fluent:masterfrom
kenhys:ci-retry
Jul 13, 2026
Merged

ci: introduce retry job to make it stable#1072
kenhys merged 1 commit into
fluent:masterfrom
kenhys:ci-retry

Conversation

@kenhys

@kenhys kenhys commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

There is a case that workflow jobs are failed time to time.
Reduce manual retry operation, add workflow for it.

NOTE: only execute retry twice.

https://docs.github.com/en/webhooks/webhook-events-and-payloads#workflow_run

@kenhys kenhys added the backport to v6.0 Need to be backported LTS label Jun 18, 2026
@kenhys

kenhys commented Jun 18, 2026

Copy link
Copy Markdown
Contributor Author

sometimes test job fails, try to re run automatically.

@kenhys

kenhys commented Jun 18, 2026

Copy link
Copy Markdown
Contributor Author

Avoid infinite loop, limit with run_attempt if: failure() && github.run_attempt == 1

@kenhys kenhys marked this pull request as ready for review June 18, 2026 08:14
@kenhys kenhys requested a review from Watson1978 June 18, 2026 08:25
@kenhys kenhys marked this pull request as draft June 18, 2026 08:54
@kenhys

kenhys commented Jul 13, 2026

Copy link
Copy Markdown
Contributor Author

changed to kick from another workflow.

@kenhys kenhys marked this pull request as ready for review July 13, 2026 08:40
Comment thread .github/workflows/retry-workflows.yml Outdated
Comment thread .github/workflows/retry-workflows.yml Outdated
There is a case that workflow jobs are failed time to time.
Reduce manual retry operation, add workflow for it.

NOTE: only execute retry twice.

https://docs.github.com/en/webhooks/webhook-events-and-payloads#workflow_run

Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>

@Watson1978 Watson1978 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

👍🏻

@kenhys kenhys merged commit 00cfffb into fluent:master Jul 13, 2026
361 of 364 checks passed
@kenhys kenhys deleted the ci-retry branch July 13, 2026 09:38
@kenhys kenhys removed the backport to v6.0 Need to be backported LTS label Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants