Skip to content

feat(cli): gate wheels doctor mixin-collision detail behind --verbose#2287

Merged
bpamiri merged 2 commits intodevelopfrom
claude/vigilant-nobel-836d1a
Apr 24, 2026
Merged

feat(cli): gate wheels doctor mixin-collision detail behind --verbose#2287
bpamiri merged 2 commits intodevelopfrom
claude/vigilant-nobel-836d1a

Conversation

@bpamiri
Copy link
Copy Markdown
Collaborator

@bpamiri bpamiri commented Apr 24, 2026

Summary

  • wheels doctor now shows a single "N mixin collision(s) detected — run with --verbose for details" summary by default; full per-collision enumeration is gated behind --verbose/-v.
  • Doctor.runChecks() exposes a new results.mixinCollisions array of structured entries (target, method, firstName, firstSource, secondName, secondSource) so the service stays presentation-neutral.
  • Module.cfc renders the verbose detail block after warnings when --verbose is set.

Closes #2261. Follow-up to #2245.

Test plan

  • bash tools/test-cli-local.sh → 432 pass, 0 fail, 0 error
  • Updated DoctorSpec.checkMixinCollisions specs: summary-only in default warnings, structured detail in results.mixinCollisions, participants asserted order-agnostically (directoryList ordering is FS-dependent)
  • Overrides-acknowledged path asserts empty mixinCollisions

bpamiri added 2 commits April 24, 2026 10:01
Default output now shows a single-line count summary; full per-collision
detail is enumerated only under `wheels doctor --verbose`. Structured
collision entries live on `results.mixinCollisions` so the service stays
presentation-neutral.

Closes #2261
`$extract()` threw on any non-empty stderr, which tripped on GNU tar's
informational warnings ("Ignoring unknown extended header keyword
'LIBARCHIVE.xattr.com.apple.provenance'") when extracting macOS-authored
tarballs on Linux. Extraction still succeeded — exit code 0 — so the
stderr check was spurious.

Switch to cfexecute's `result=` arg and throw only when `exitCode != 0`,
preserving stderr in extendedInfo for diagnostics.

Fixes 4 CI errors in InstallerSpec / PackagesMainCliSpec that were
previously masked by TestBox's negative totalError accounting.
@bpamiri bpamiri merged commit 56fcf23 into develop Apr 24, 2026
4 checks passed
@bpamiri bpamiri deleted the claude/vigilant-nobel-836d1a branch April 24, 2026 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

packages: add --verbose flag to wheels doctor mixin-collision output

1 participant