Skip to content

Embed archive checksums in the shell installer - #28281

Merged
zsol merged 3 commits into
mainfrom
zsol/installer-archive-checksums
Sep 4, 2026
Merged

zsol merged 3 commits into
mainfrom
zsol/installer-archive-checksums

Conversation

@zsol

@zsol zsol commented Sep 3, 2026

Copy link
Copy Markdown
Member

Release archives already have .sha256 files, but the custom binary build jobs don't put those hashes in cargo-dist's manifest. The generated shell installer therefore has no expected archive hashes to check.

Add a job that imports the built archives' checksums into a local manifest before cargo-dist generates the installers. Run the helper through uv with a script lockfile, require a valid sidecar for every downloaded executable archive, and require the job to succeed before hosting the release.

@astral-sh-bot

astral-sh-bot Bot commented Sep 3, 2026

Copy link
Copy Markdown

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

Formatter (stable)

✅ ecosystem check detected no format changes.

Formatter (preview)

✅ ecosystem check detected no format changes.

@zsol
zsol marked this pull request as ready for review September 4, 2026 09:24
@zsol
zsol merged commit a592ffe into main Sep 4, 2026
90 checks passed
@zsol
zsol deleted the zsol/installer-archive-checksums branch September 4, 2026 20:29
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