Show real versions for all containers + changelog on every card#17
Merged
Conversation
The previous fix only resolved versions for containers with a pending update,
so up-to-date images with junk labels (homarr -> digest, scrutiny ->
master-omnibus) still showed no real version on the All page.
- New image_versions(digest -> version) store in db.js. During a check we now
resolve and remember a human version for EVERY container, not just ones with
an update: up-to-date images with a junk label use their source repo's latest
release tag (cached); update events also record the available version keyed by
the remote digest so it shows instantly after an update.
- containers-service surfaces currentVersion/availableVersion from that store
(via an injected lookupVersion) whenever the image's own label is junk, so a
real number shows everywhere.
- UpdateCard shows the changelog ('Release notes') on every card with a source,
not just ones with a pending update, so you can review changes before bumping.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Lj6nYJQDtLaZFvvEQJGM4
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.
Follow-up to #16. The All page still showed a digest (homarr) or a rolling tag (
master-omnibus) for up-to-date images, because versions were only resolved for containers with a pending update. Now a real version is resolved for every container, and the changelog is available on every card.Changes
image_versionsstore (db.js, digest → version): during a check we resolve and remember a human version for every container. Up-to-date images whose own label is junk use their source repo's latest GitHub release tag (cached). Update events also record the available version keyed by the remote digest, so it shows instantly once you update.containers-service.js: surfacescurrentVersion/availableVersionfrom that store (via an injectedlookupVersion) whenever the image's own label isn't a usable version — so a real number shows everywhere, on All and Updates-only.UpdateCard.jsx: the changelog ("Release notes" / "What's changed") now shows on every card that has a source, not just ones with a pending update — so you can review changes before deciding to bump.Verification
After deploy: a check resolves homarr →
v1.68.xand scrutiny → its latest release, shown on the All page; "Release notes" is available on every card.🤖 Generated with Claude Code
Generated by Claude Code