Annotate cooldown-held versions in mix hex.outdated#1171
Merged
Conversation
Show "(cooldown)" alongside the status when the latest version of a dependency is within the configured cooldown window, with a "Versions in cooldown" legend below the table listing eligibility dates. The single-package output gets a similar line, and the JSON output gains a `cooldown` field exposing published_at and eligible_on.
A dependency whose latest version is filtered by cooldown should not cause `mix hex.outdated` to exit non-zero — `mix deps.update` would not pick that version up anyway, so it isn't actionable until the cooldown window passes.
A package whose locked version has been retired or has a security advisory was already bypassed from cooldown filtering, but escaping typically requires resolving newer transitive dependencies — and those were still being held back. Lift cooldown for the lock-children too, mirroring the way mix deps.update unlocks the parent and its children together. mix hex.outdated now consults the same bypass when deciding whether to annotate a row with (cooldown).
If the latest version of a dependency doesn't match any of the requirements on it, the user can't take that upgrade regardless of cooldown — the (cooldown) tag was misleading. Strip the cooldown attachment for those rows so the status is just "Update not possible" and the version doesn't appear in the cooldown legend.
maennchen
approved these changes
May 28, 2026
Member
Author
|
Thanks for the reviews @maennchen! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Show "(cooldown)" alongside the status when the latest version of a dependency is within the configured cooldown window, with a "Versions in cooldown" legend below the table listing eligibility dates. The single-package output gets a similar line, and the JSON output gains a
cooldownfield exposing published_at and eligible_on.Closes #1113.