Skip to content

Show what changed after a self-managed update lands - #1493

Open
JoeJoeflyn wants to merge 1 commit into
lerd-env:mainfrom
JoeJoeflyn:feat/1359-update-whatsnew
Open

Show what changed after a self-managed update lands#1493
JoeJoeflyn wants to merge 1 commit into
lerd-env:mainfrom
JoeJoeflyn:feat/1359-update-whatsnew

Conversation

@JoeJoeflyn

@JoeJoeflyn JoeJoeflyn commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

After a self-managed update lands, print the changelog that was already fetched for the confirmation prompt. Gated on feedback.Interactive() so unattended runs suppress it. Package-managed installs never reach this point.

Closes #1359

lerd update fetches and prints the changelog before asking the user to
confirm, then downloads, installs, restarts services, and returns without
a word about what actually changed. doctor and status both end by pointing
the user at lerd whatsnew, so the two commands that did nothing advertise
the changelog while the one that just applied it stays silent.

Print the same changelog that was already fetched for the confirmation
prompt once the update is done, gated on feedback.Interactive() so an
unattended or piped run does not dump it into a log. Package-managed
installs defer to apt, dnf, or brew and never reach this point.
@JoeJoeflyn
JoeJoeflyn requested a review from a team as a code owner August 13, 2026 13:33
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.

feat(update): show what changed once the update lands

1 participant