Skip to content

release-artifacts: require the uploaded asset, not just the pinned url - #93

Merged
germ-mark merged 1 commit into
mainfrom
fix/release-artifacts-asset-guard
Jul 20, 2026
Merged

release-artifacts: require the uploaded asset, not just the pinned url#93
germ-mark merged 1 commit into
mainfrom
fix/release-artifacts-asset-guard

Conversation

@germ-mark

@germ-mark germ-mark commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Two release-robustness fixes prompted by v0.10.0 shipping with no xcframework asset (its binaryTarget url 404'd):

  1. Guard fix — the finalize job's idempotency guard skipped build+pin+upload whenever Package.swift's fallback url already named the tag. A url pinned by hand (or by a run that failed mid-upload) with no uploaded asset then leaves the tag resolving to a 404. Now also require the xcframework.zip asset to actually exist before treating the tag as finalized.
  2. Convention doc + checksum fix — document in Package.swift that the binaryTarget url+checksum must always name an already-released tag with its real CI checksum (never pre-bump to an unreleased version — that's what defeats the guard). Also correct main's checksum from the local placeholder to the released CI value (897071cf…).

v0.10.0 itself was already recovered by re-dispatching this workflow after fix (1).

🤖 Generated with Claude Code

The idempotency guard skipped build+pin+upload whenever Package.swift's
fallback url already named the tag — but a url pinned by hand (or by a
run that failed mid-upload) with no asset then leaves the tag resolving
to a 404. Also require the xcframework.zip asset to actually exist on
the release before treating the tag as finalized.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Jul 20, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 921cb48

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@germ-mark
germ-mark merged commit f2a040e into main Jul 20, 2026
9 checks passed
@germ-mark
germ-mark deleted the fix/release-artifacts-asset-guard branch July 20, 2026 08:30
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