Skip to content

[Snyk] Prefer a stable release as the fix version for a stable version - #125

Merged
irskep merged 1 commit into
mainfrom
fix-version-skips-prereleases
Oct 19, 2026
Merged

irskep merged 1 commit into
mainfrom
fix-version-skips-prereleases

Conversation

@irskep

@irskep irskep commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator

Snyk lists the canary that first carried a fix next to the release that followed, for example 15.6.0-canary.61, 16.1.1-canary.16, 16.1.5. lowestFixVersion took the lowest of them, so a stable version could be asked to move to a canary. The canary is not in the versions between current and latest, so the due date then counted from a different release than the title asked for.

A stable version now takes a stable fix when one fixes everything, and a prerelease only when nothing else does. A version that is itself a prerelease can still move to a later one.

🤖 Generated with Claude Code

@irskep irskep changed the title Never pick a prerelease as the fix version for a stable version [Snyk] Never pick a prerelease as the fix version for a stable version Oct 16, 2026
@irskep
irskep force-pushed the fix-version-skips-prereleases branch from 278f3df to 68649ca Compare October 16, 2026 17:11
@irskep irskep changed the title [Snyk] Never pick a prerelease as the fix version for a stable version Prefer a stable release as the fix version for a stable version Oct 16, 2026
@irskep irskep changed the title Prefer a stable release as the fix version for a stable version [Snyk] Prefer a stable release as the fix version for a stable version Oct 16, 2026
@irskep
irskep requested review from mblair and srubin October 19, 2026 16:44
Snyk lists the canary that first carried a fix next to the release that
followed. `lowestFixVersion` took the lowest, so a stable version could be
asked to move to a canary, and the due date then counted from a release
that was not the one asked for. A stable version now takes a stable fix
when one fixes everything, and a prerelease only when nothing else does.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@irskep
irskep force-pushed the fix-version-skips-prereleases branch from 68649ca to f7349d4 Compare October 19, 2026 16:45
@irskep
irskep merged commit d4a35e9 into main Oct 19, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants