Skip to content

Fix release feed-validation gate: read feeds via API (runs on a draft) - #29

Merged
CSSFrancis merged 1 commit into
mainfrom
fix/release-feed-gate-draft
Jul 21, 2026
Merged

Fix release feed-validation gate: read feeds via API (runs on a draft)#29
CSSFrancis merged 1 commit into
mainfrom
fix/release-feed-gate-draft

Conversation

@CSSFrancis

Copy link
Copy Markdown
Member

The auto-update feed-validation gate added in the mac-updater fix blocked v0.2.0-rc.7 — a false failure.

Bug: the gate curls latest*.yml from https://github.com/OWNER/REPO/releases/download/<tag>/…. But it runs in the finalize job before the release is un-drafted, and draft assets 404 at that public URL. Every feed read failed → the gate reported "feed missing" → the release stayed a draft, even though the build was correct and DID contain the new mac .zip.

Fix: fetch each feed with gh release download (authenticated, sees drafts) instead of the public URL, and check the feed is an attached asset first.

Verified against the real rc.7 draft: latest-mac.yml → SpyDE-*-arm64-mac.zip, latest.yml → *.exe, latest-linux.yml → *.AppImage all pass. rc.7 was finalized manually (build confirmed sound); this makes the next release finalize automatically.

…release

The auto-update feed-validation gate fetched latest*.yml from the public
releases/download/<tag>/ URL. But it runs in `finalize` BEFORE the release is
un-drafted, and draft assets 404 at that public URL — so every feed read failed
with "feed missing" and the gate blocked the release (v0.2.0-rc.7 stranded as a
draft even though the build was correct and DID contain the mac zip).

Fetch each feed with `gh release download` instead, which authenticates through
the API and can see draft assets. Also check the feed is an attached asset up
front. Validated against the real rc.7 draft: mac→zip, win→exe, linux→AppImage
all pass. rc.7 was finalized manually after confirming the build was sound; this
makes the next release finalize on its own.
@CSSFrancis
CSSFrancis merged commit 5ae706e into main Jul 21, 2026
20 of 21 checks passed
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