Skip to content

fix(k8s): the --stack help of deploy-stack names every stack that the command accepts #2157

Closed

Description

@dan-petty

What happened

uv run devops k8s deploy-stack --help says for --stack: "Stack to operate on: infra | llm | all." (src/devops_cli/lang/en/help.py:403). The command accepts more: VALID_STACKS in src/devops_cli/commands/k8s/networking.py:68 is ("infra", "llm", "logging", "devops", "gitea", "all"). On 2026-10-24 the Gitea stack (#1081) had to be run as --stack gitea, which the help does not name.

What should happen

The help of --stack names every stack that the command accepts, from VALID_STACKS, so a new stack cannot make the help wrong again.

Acceptance criteria

  • devops k8s deploy-stack --help (and every other command that shares this help string) names each value of VALID_STACKS.
  • A test fails when a value of VALID_STACKS is missing from that help.

Activity

  1. added
    source/agent
    type/bug
    on Oct 24, 2026
  2. dan-petty commented on Oct 24, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones on the board.

    • Type: type/bug. The candidate fixes incorrect information in the command's help output.
    • Priority: P2-Medium. This is a documentation bug that affects usability but does not break functionality.
    • Value: Medium. Users will see correct stack names in help, improving discoverability of features.
    • Effort: Low. The fix requires updating one help string to use VALID_STACKS values.
    • Related: feat(k8s): deploy-stack declares its stack names once, and a cluster secret row can name its Secret type and hold derived entries #2008, which asks for a different change. Both items deal with stack names, but item 2008 wants to declare them once, while this item fixes the help text to match VALID_STACKS.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    source/agenttype/bug

    Type

    No type

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions