uutils / uutils/coreutils

ci: "Cannot delete asset from an immutable release" errors after merging PRs

Open
#13,839 8 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

Some jobs from the CICD.yml and make.yml workflows recently started to fail at the "Publish latest commit" and "Publish" steps, after merging a PR, with an error like:

♻️ Deleting previously uploaded asset coreutils-arm-unknown-linux-gnueabihf.tar.gz...
Error: Validation Failed: {"resource":"ReleaseAsset","code":"custom","message":"Cannot delete asset from an immutable release"}

See, for example, https://github.com/uutils/coreutils/actions/runs/31361421079/job/93371619540

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 with the failing "Publish latest commit" and "Publish" steps in .github/workflows/CICD.yml and make.yml, then inspect the linked Actions run and the asset deletion behavior. Determine why these jobs target an immutable release and adjust the workflow behavior so publishing completes without the ReleaseAsset validation error; verify both workflows after merging a PR.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
ci-cd, release
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.