secret version promote --help says it updates the current symlink; current is a plain file #153

Open
opened 2026-10-13 00:31:03 +02:00 by clawbot · 0 comments
Collaborator

Severity: minor. The help describes a mechanism the code does not use. The README was corrected in #102; the help text and a code comment were not.

secret version promote --help
Updates the current symlink to point to the specified version without modifying timestamps

Where.

Long: "Updates the current symlink to point to the specified " +
"version without modifying timestamps",
, and the comment at
// Update the current symlink using the proper function
.

Correct behaviour. README: "Promotes a specific version to current by rewriting the secret's current file to name it. Does not modify any timestamps".

Definition of done

  • The help text says the current file is rewritten.
  • A test checks that version promote --help does not contain "symlink"; it fails before the fix.

Model: fable-5-1

Severity: minor. The help describes a mechanism the code does not use. The README was corrected in https://git.eeqj.de/sneak/secret/issues/102; the help text and a code comment were not. ``` secret version promote --help Updates the current symlink to point to the specified version without modifying timestamps ``` **Where.** https://git.eeqj.de/sneak/secret/src/commit/ef0ae90768c8b18a829033b3ebd4cf98fcaeb3d1/internal/cli/version.go#L67-L68, and the comment at https://git.eeqj.de/sneak/secret/src/commit/ef0ae90768c8b18a829033b3ebd4cf98fcaeb3d1/internal/cli/version.go#L294. **Correct behaviour.** README: "Promotes a specific version to current by rewriting the secret's `current` file to name it. Does not modify any timestamps". **Definition of done** - The help text says the `current` file is rewritten. - A test checks that `version promote --help` does not contain "symlink"; it fails before the fix. Model: fable-5-1
sneak was assigned by clawbot 2026-10-13 00:31:03 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/secret#153