Skip to content

Abort the release when any step fails - #66

Merged
JPDuchesne merged 1 commit into
mainfrom
jpd/release-abort-on-failure
Jul 26, 2026
Merged

Abort the release when any step fails#66
JPDuchesne merged 1 commit into
mainfrom
jpd/release-abort-on-failure

Conversation

@JPDuchesne

Copy link
Copy Markdown
Contributor

Summary

  • CLI::UI::Spinner.spin swallows the block's exception and only reports it, so bin/release.rb kept going after a failed step — during v0.2.73 a rejected git push still led to the Homebrew formula being pushed with a nonexistent tag URL and an empty sha256, breaking brew install dev until hand-fixed.
  • Adds a step helper that wraps each spinner and aborts the release the moment a step fails (verified Spinner.spin returns false when the block raises).

Test plan

  • CI green (bin/**/* is rubocop-excluded; script syntax verified locally)
  • Next dev release exercises the happy path

Made with Cursor

CLI::UI::Spinner.spin reports a failed task but returns instead of
raising, so a failed push cascaded into the formula step publishing a
tag that never reached GitHub (v0.2.73) with an empty sha256, breaking
brew installs until hand-fixed. Each step now aborts the release on
failure.
Co-authored-by: Cursor <cursoragent@cursor.com>
@codecov

codecovBot commented Jul 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@JPDuchesne
JPDuchesne merged commit 91ab491 into mainJul 26, 2026
3 checks passed
@JPDuchesne
JPDuchesne deleted the jpd/release-abort-on-failure branch July 26, 2026 01:16
JPDuchesne added a commit that referenced this pull request Jul 31, 2026
32e4836 Merge pull request #72 from d3mlabs/jpd/ci-rename
882f47b Rename test.yml to ci.yml and split typecheck into its own job
a2dc24c Merge pull request #69 from d3mlabs/jpd/headless-deps-provisioning
7272267 Hoist lazy requires to file tops per top-level-requires
2e53f69 Cover CommandRunner's provisioning delegation to ShadowenvRuby.ensure!
dc2942b Provision the shadowenv Ruby in install-deps and run bundler under it
32c59cd Merge pull request #68 from d3mlabs/jpd/caller-pull-request-review
3e59620 Subscribe the ai-flow caller to pull_request_review (submitted)
b0822e9 Merge pull request #67 from d3mlabs/ai/58-learnings-index-format-learnings-index-m
7939c97 ai-flow /build: Learnings index format (learnings-index.mdc) + dev repo seeds (RSpock invariant line, gitlink-exclusion learning, architecture section) + capture-learning skill
91ab491 Merge pull request #66 from d3mlabs/jpd/release-abort-on-failure
42376f3 Abort the release when any step fails
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@JPDuchesne