Skip to content

feat: skip hash check error when installing pre-release#215

Merged
GuillaumeLagrange merged 1 commit into
mainfrom
pre-release-hash
Jun 16, 2026
Merged

feat: skip hash check error when installing pre-release#215
GuillaumeLagrange merged 1 commit into
mainfrom
pre-release-hash

Conversation

@GuillaumeLagrange

@GuillaumeLagrange GuillaumeLagrange commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Install prerelease runner versions (e.g. 4.18.0-alpha.0) without requiring a pinned installer hash.

Previously any semver-shaped runner-version was treated as a stable release and hard-failed with No pinned hash found when absent from .codspeed-runner-installer-hashes.json. Prereleases are cut for scoped dev-cycle testing and never go through the release flow that populates that list, so testing one always failed unless the JSON was hand-edited on a branch.

Prereleases are now detected as their own version type and installed from the versioned installer URL without hash verification — emitting a ::warning::, the same treatment as latest/branch/rev. Stable releases missing a hash still hard-fail, preserving the supply-chain guarantee and still catching real release-process bugs.

Fixes COD-2883

@GuillaumeLagrange GuillaumeLagrange merged commit 3ab7a45 into main Jun 16, 2026
35 checks passed
@GuillaumeLagrange GuillaumeLagrange deleted the pre-release-hash branch June 16, 2026 15: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.

2 participants