llvm / llvm/circt

[CI] Turn on "Cancel In Progress"

Open
#5,761 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
2.2k
Forks
524
Avg merge
3d 2h
Merged PRs (30d)
46

Description

For all our CI jobs, we should disable a past CI run for a PR if a new one kicks off to take its place. This has the effect of killing a running job on a force-push. (I realized that I am doing this a lot for things like testing CI and it's wasting a lot of compute.)

This can be achieved with something like: https://stackoverflow.com/questions/66335225/how-to-cancel-previous-runs-in-the-pr-when-you-push-new-commitsupdate-the-curre

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect the repository's GitHub Actions workflow definitions, since the issue does not name specific files. Use the linked cancellation approach as the starting reference and check each CI workflow for the replacement-run behavior. Done means a newer PR run cancels the superseded run across all CI jobs without breaking workflow validation.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
ci-cd, devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.