Skip to content

Add version check and upgrade notification #2467

@trungutt

Description

@trungutt

docker-agent has no mechanism to notify users when they are running an outdated version. The current version is baked in at build time (pkg/version/version.go) and displayed in the TUI status bar and version subcommand, but there is no comparison against the latest available release.

The only version-related guard today is the DB migration check in pkg/session/migrations.go, which errors when the local database was created by a newer binary — a backward-compat safeguard, not an update prompt.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/cliCLI commands, flags, output formattingeffort:smallIsolated change, clear solution, single areapriority:lowNice-to-have, can be deferred indefinitely

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions