Repository navigation
Write KERNEL throughout vault help - #329
Merged
Merged
Conversation
masnwilliams
approved these changes
Nov 25, 2026
masnwilliams
left a comment
Contributor
There was a problem hiding this comment.
LGTM: the three wording changes and the test update are correct.
Optional, for this PR or soon after:
- Other user-facing vault help still writes the product name as
Kernel. Examples:cmd/vaults_commands.golines 110, 255 and 261;cmd/vaults_help.golines 20, 47-52, 73, 240 and 270-276;cmd/vault_provider_configs.golines 54 and 102. It also shows up at runtime incmd/vaults_output.golines 743 and 745 and in the error message atcmd/vaults_wallet_spec.go:55. - To stop this coming back, add one test that walks
newVaultsCommand()and fails on\bKernel\bin each command's Short, Long and Example text and in its flag usage. That would replace the single-phrase assertion. While you're in there, "Kernel-vault aliases" reads better as "KERNEL vault aliases".
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.
Vault help and messages wrote the product name as
Kernel; the rest of the CLI usesKERNEL.KernelwithKERNELin user-facing vault text: command help, examples, flag usage, the VGS authorize/fill info lines, and the Shop Pay wallet spec error. Code comments are unchanged.TestVaultHelpWritesProductNameAsKERNEL, which walks thevaultsandvault-provider-configscommand trees and fails onKernelin any Short, Long, Example or flag usage. It replaces the single-phrase assertion in the payment-methods help test. Runtime messages aren't covered by the walk.go vet ./cmd/andgo test ./...pass. Checked that the new test fails when aKernelis reintroduced.