Skip to content
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

Add a command to re-run only pipelines that had system failures #101

Open
alalazo opened this issue Dec 6, 2024 · 0 comments
Open

Add a command to re-run only pipelines that had system failures #101

alalazo opened this issue Dec 6, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@alalazo
Copy link
Member

alalazo commented Dec 6, 2024

Lately, the failure rate of pipelines due to system failures started increasing. To give some concrete example from today, here is a pipeline which should be ✔️ but failed because of system failures:

On the same day we run two pipelines on develop:

They are both ❌ due to system failures.

Whenever something like that happens on a PR, the two solutions users have are:

  • Close and reopen the PR, to trigger the creation of a new merge commit, and a new set of pipelines
  • Comment @spackbot run pipeline, to re-run all the pipelines

If the failure rate is high enough, there is a fair chance the procedure needs to be repeated a few times to get to a ✔️ CI mark. This has the effect of multiplying by a factor the resources we need to run pipelines, in particular for "generate" jobs, which are always re-run.

I guess the best solution from user's perspective would be having a low failure rate but, in absence of that, I wonder if we could add a new command1:

@spackbot re-run failed pipelines

that re-runs only pipelines that failed due to system errors. This should:

  • Reduce the chance of a possible new failure
  • Reduce the resources we need to get a given CI run ✔️

Footnotes

  1. Naming is tentative, any better choice is welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant