Skip to content

fix(cli): cloudy tools parity with ask + document Docker/correlate tools#109

Merged
rlaope merged 2 commits into
masterfrom
fix/cli-tools-parity-and-docs
May 28, 2026
Merged

fix(cli): cloudy tools parity with ask + document Docker/correlate tools#109
rlaope merged 2 commits into
masterfrom
fix/cli-tools-parity-and-docs

Conversation

@rlaope
Copy link
Copy Markdown
Owner

@rlaope rlaope commented May 28, 2026

Summary

Found via live QA against a real kind cluster + Docker daemon: cloudy tools under-reported the tool registry versus what cloudy ask actually runs.

  • Fix: cloudy tools hand-built wiring.Options and omitted docker_hosts / argocd / alertmanager, so it showed change / metric / log.container / gitops / alert as skipped even when configured. Route it through wiring.Rebuild (the single owner of full-Options registry construction, already used by cloudy ask) so the report matches runtime. cloudy ask was unaffected — it already used Rebuild.
  • Docs: document the new change / metric / correlate groups and log.container in the README tool table + Backends table (adds Docker / Change / Correlation domains), and record them + the fix in the v0.5.0 changelog.

Live QA evidence (read-only, real infra)

  • cloudy tools before fix (with docker_hosts set): metric / log.container shown skipped
  • after fix: change.recent, metric.container_stats, log.container, correlate.workload all ok
  • Registry builds cleanly against the live kind cluster (nginx/coredns/prometheus) and Docker daemon — no panic; honest skip reasons confirmed.

Test plan

  • go build ./...
  • go test ./internal/ui/cli/... ./internal/wiring/...
  • golangci-lint v2.12 run ./internal/ui/cli/... → 0 issues; gofmt clean
  • Live: cloudy tools now matches cloudy ask registration against a real cluster + Docker host

Out of scope (separate finding, not fixed here)

cloudy doctor's "kubeconfig parseable" check loads ~/.cloudy/config.yaml and parses it as a kubeconfig (json: cannot unmarshal string into Config.contexts of type v1.NamedContext) — a pre-existing doctor bug unrelated to the new tools. Worth a follow-up.

🤖 Generated with Claude Code

rlaope added 2 commits May 28, 2026 20:35
cloudy tools hand-built wiring.Options and omitted docker_hosts / argocd /
alertmanager, so it under-reported the change / metric / log.container /
gitops / alert groups versus what `cloudy ask` actually runs. Route it
through wiring.Rebuild — the single owner of full-Options registry
construction — so the report matches runtime. Found via live QA.

Signed-off-by: rlaope <piyrw9754@gmail.com>
Add the change / metric / correlate tool groups and log.container to the
README tool table and Backends table (Docker, Change, Correlation domains),
and record them plus the cloudy tools parity fix in the v0.5.0 changelog.

Signed-off-by: rlaope <piyrw9754@gmail.com>
@rlaope rlaope merged commit defdd24 into master May 28, 2026
2 checks passed
@rlaope rlaope deleted the fix/cli-tools-parity-and-docs branch May 28, 2026 11:38
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.

1 participant