uutils / uutils/coreutils

Concurrency bug: Multiple PR workflows run simultaneously, exhausting resources

Open
#9,315 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
24.1k
Forks
2k
Avg merge
1d 5h
Merged PRs (30d)
365

Description

The GitHub Actions workflow has a concurrency configuration that's supposed to cancel previous runs when new commits are pushed to a PR, but it's not working. Instead, multiple workflows run simultaneously, exhausting disk space and other resources.

The cancel-in-progress condition

${{ github.ref != 'refs/heads/main' }} 

isn't properly canceling PR workflows because: it isn't narrowed enough (likely not including the branch/PR identifier). Without a proper concurrency group key, GitHub can't match and cancel previous runs

Contributor guide

Open the contributing guide

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

Start by locating the GitHub Actions workflow containing the concurrency configuration and inspect its group key and cancel-in-progress condition. Reproduce the behavior by pushing successive commits to a pull request, then verify that the earlier workflow is cancelled and resources are no longer exhausted.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, rust
Domain
ci-cd, devops
Issue type
Bug
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.