Skip to content

Support first stable Home Assistant releases after prereleases - #1061

Merged
PrzemyslawKlys merged 1 commit into
mainfrom
fix/homeassistant-prerelease-baseline
Oct 8, 2026
Merged

PrzemyslawKlys merged 1 commit into
mainfrom
fix/homeassistant-prerelease-baseline

Conversation

@PrzemyslawKlys

Copy link
Copy Markdown
Member

Repositories with only prereleases have no GitHub latest stable release. Preparing their first stable Home Assistant or HACS release consequently selects the synchronized metadata version again and fails when that tag is already occupied.

Use the highest published three-part release version as the baseline when GitHub's latest-release endpoint returns 404. Preserve the existing stable baseline, normal increment policy, historical prerelease tags and assets, target-tag preflight, and prepared-commit recovery checks. Drafts and unsupported tags are excluded, and an incomplete paginated search fails closed.

This was reproduced while releasing Waste Pickup Planner after its visual bin controls change: metadata 0.1.5 with only the v0.1.5 prerelease now plans a new stable v0.1.6. PowerForge owns version selection; the consumer retains its thin release receiver. The hosted workflow route requires a published PowerForge.Build containing this fix and corresponding immutable workflow pins.

Validation: 43 focused Home Assistant release/client tests passed, an independent read-only contract review found no actionable defects, and a read-only plan against the merged consumer confirmed v0.1.6.

@PrzemyslawKlys
PrzemyslawKlys merged commit c325d47 into main Oct 8, 2026
9 checks passed
@PrzemyslawKlys
PrzemyslawKlys deleted the fix/homeassistant-prerelease-baseline branch October 8, 2026 13:50
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