Skip to content

Show real versions for all containers + changelog on every card#17

Merged
StrandedTurtle merged 1 commit into
mainfrom
claude/youthful-pasteur-2f6s72
Jun 30, 2026
Merged

Show real versions for all containers + changelog on every card#17
StrandedTurtle merged 1 commit into
mainfrom
claude/youthful-pasteur-2f6s72

Conversation

@StrandedTurtle

Copy link
Copy Markdown
Owner

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_versions store (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: surfaces currentVersion / availableVersion from that store (via an injected lookupVersion) 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

  • Server tests 103/103 (added containers-service fallback cases).
  • Client build clean.
  • DB upsert/get + checker import smoke-tested.

After deploy: a check resolves homarr → v1.68.x and scrutiny → its latest release, shown on the All page; "Release notes" is available on every card.

🤖 Generated with Claude Code


Generated by Claude Code

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
@StrandedTurtle StrandedTurtle merged commit d40274e into main Jun 30, 2026
4 checks passed
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