Skip to content

Check the version API before downloading a release - #4

Merged
samuel-williams-shopify merged 1 commit into
mainfrom
fix-unpublished-version-lookup
Sep 21, 2026
Merged

samuel-williams-shopify merged 1 commit into
mainfrom
fix-unpublished-version-lookup

Conversation

@samuel-williams-shopify

Copy link
Copy Markdown
Contributor

The first automated release stopped before building because the download URL for the unpublished gem returned HTTP 403. Check the RubyGems version API first, where an absent version returns 404, then download and hash the package when the version exists.

API errors and unavailable downloads for existing versions still stop publication. Add regression coverage for unpublished versions, published package digests, API errors, and missing or forbidden downloads; update the recovery fixture for the lookup arguments.

Validation: 19 tests / 55 assertions pass; RuboCop passes. Live read-only checks recognize bake-gem-github 0.0.1 as unpublished and match the downloaded bake-gem 0.15.0 digest to its locally cached package.

The failed v0.0.1 run has not built or uploaded a package. Its checkout remains pinned to the original merged source, so rerunning that run alone will not load this fix.

@samuel-williams-shopify
samuel-williams-shopify merged commit 75604f4 into main Sep 21, 2026
11 checks passed
@samuel-williams-shopify
samuel-williams-shopify deleted the fix-unpublished-version-lookup branch September 21, 2026 08:40
Sign up for free to 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