rust-lang / rust-lang/rust-analyzer

Prevent publishing a release when a subtask fails?

Open
#8,226 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-infra S-actionable
Dominant language
Rust
Stars
16.9k
Forks
2.2k
Avg merge
1d 12h
Merged PRs (30d)
72

Description

Last nightly release doesn't contain a vscode extension file because "publish release" task was interrupted (for whatever reason): https://github.com/rust-analyzer/rust-analyzer/runs/2210499132?check_suite_focus=true

But the release still succeeded and broke update of the extension for nightly users.

Shouldn't the whole release process fail when one of the release subtasks fails though? 🤔

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 linked GitHub Actions run and inspect the release workflow around the interrupted “publish release” task. Trace how subtask failures are propagated to the overall release result. Done means a failed release subtask causes the whole release process to fail instead of publishing an incomplete release.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.