Skip to content

cli: wheels test --verbose and --ci have no observable effect — docs promise per-spec output and CI tightening #3113

Description

@bpamiri

Observed (released brew CLI 4.0.3, fresh scaffold with passing + failing specs)

wheels test --verbose > v_sub.out 2>&1
wheels test           > v_none.out 2>&1
wheels -v test        > v_root.out 2>&1
diff v_none.out v_sub.out   # only LuCLI's 'Executing module shortcut' notice differs
diff v_root.out v_sub.out   # byte-identical

No per-spec lines are printed for passing specs in any form — failures print identically with and without the flag. Likewise wheels test --ci vs plain on a failing run: stdout byte-identical, both exit 1.

Docs contract being violated (command-line-tools/wheels-commands/testing.mdx)

  • line 61: --verbose, -v — "Print per-spec output instead of the summary line."
  • line 62: --ci — "CI mode: tightens exit codes and output for GitHub Actions and similar runners." (exit codes are already non-zero by default since the 4.0.3 exit-code fix, so --ci currently adds nothing)

Prior evidence absorbed

Ask

Either wire both flags (verbose → per-spec TestBox output; ci → whatever differentiated behavior is intended, e.g. no-color/annotations) or correct the testing.mdx flag rows. Module.cfc parses both (parsed.verbose; --ci flag in the test ArgSpec ~line 676) — they just don't change the rendered report.

Dedupe: distinct from #3083 (runner fallback) and #3081 (migrate exit codes); not addressed by in-flight #3106 (runner JSON honesty). Found during the P2 guide-behavioral-audit (p2-2-cliref, claim testing-05).

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions