Skip to content

fix(output): 19 success messages print their check mark twice #2261

Closed

Description

@dan-petty

Problem Description

print_success (src/devops_cli/output/console.py) adds the success prefix ✓ to each message. 19 callers also start their message with ✓ , so the person sees the check mark two times.

Reproduction Steps

  1. Run devops gh metrics --emit-telemetry.
  2. Read the last line.

grep -rn 'print_success(f\?"✓' src/devops_cli finds the 19 callers, in commands/gh.py, commands/vault.py, commands/scan.py, commands/docker.py and others.

Expected vs Actual Behavior

  • Expected: ✓ Emitted project velocity metrics over OpenTelemetry to Prometheus.
  • Actual: ✓ ✓ Emitted project velocity metrics over OpenTelemetry to Prometheus.

Environment Diagnostics

main at 990e4d1.

Proposed remedy

Remove ✓ from the 19 messages. Add a test that fails when a message given to print_success, print_error, print_warning or print_info starts with the prefix of its level.

Acceptance criteria

  • No message given to a print_* function starts with the prefix that the function adds.
  • A test reads every call in src/devops_cli and fails on such a message.

Source: #974

Activity

  1. added
    source/agent
    type/bug
    on Oct 25, 2026
  2. dan-petty commented on Oct 25, 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 describes a defect in output formatting that causes duplicated check marks.
    • Priority: P2-Medium. This is a visual defect that impacts user experience but does not break functionality.
    • Value: Low. The fix corrects a minor display issue without changing core behavior or adding features.
    • Effort: Medium. Fixing requires editing 19 message strings and adding a test to prevent future occurrences.
    • Related: fix(cli): devops scan commands print their progress line on stdout before the JSON, so --json output does not parse #2216, which asks for a different change. Both items deal with output issues, but the candidate fixes message duplication while the related item fixes output order in scan commands.
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

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions