Skip to content

docs: fix release version existence check - #227

Merged
shinaoka merged 1 commit into
mainfrom
fix/release-existence-check
Aug 9, 2026
Merged

docs: fix release version existence check#227
shinaoka merged 1 commit into
mainfrom
fix/release-existence-check

Conversation

@shinaoka

@shinaoka shinaoka commented Aug 9, 2026

Copy link
Copy Markdown
Member

Summary

Fix the release workflow discovered during v0.4.0 publication: crates.io returns 403 from the download endpoint for nonexistent versions. Query exact-version metadata first, download only after HTTP 200, and preserve fail-closed behavior for network or unexpected responses.

Verification

  • live 0.4.0 metadata (200) and archive provenance
  • live nonexistent version metadata (404)
  • all fenced Bash snippets: bash -n
  • repository-rules dry-run: pass
  • independent review: no findings

@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown

Repository rules review

Repository rules review (b29e7601ba090aa5eafc65b9bde5d9450282e0d8...2a48342419951c11c39babd170aa23eceee9060c)
Verdict: pass
LLM review: 1 chunk(s) (1583 chars) in 7.3s; 0 finding(s) returned, 0 kept, 0 dropped by diff-anchor filtering.
No findings.

@shinaoka
shinaoka merged commit 2570a4e into main Aug 9, 2026
10 checks passed
@shinaoka
shinaoka deleted the fix/release-existence-check branch August 9, 2026 08:14
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