release: clean fduty self-update logs -> main (cut v0.0.25)#76
Merged
Conversation
The success path logged head(out,300) of `fduty update`'s raw multi-line output, which surfaced in logs as literal `\n` escapes truncated mid-string (a colleague reported messy/cut-off logs). Replace it with single-line, definitive logging: - verifyFdutyOnPath now returns the resolved version line; ensureFdutyCLI passes the pre-update version into fdutySelfUpdate(prevVersion). - after a successful `fduty update`, re-read the version and log the actual outcome: "fduty CLI upgraded" from->to, or "already up to date". - the failure path logs the last output line (the real error) via lastLine instead of a truncated head. - firstLine/lastLine helpers replace the head() byte-truncator.
fix(provision): clean, definitive fduty self-update logs
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.
Promotes the fduty self-update logging cleanup (#75) to
mainfor a patch release v0.0.25.Net change since v0.0.24: fduty self-update now emits clean, single-line, definitive log lines (
fduty CLI upgraded from=… to=…/already up to date/ single-line error) instead of raw truncated multi-line output that showed literal\nand cut off mid-string. See #75 for before/after and test evidence.