Skip to content

client: add redacted diagnostics bundle#136

Merged
Kianmhz merged 1 commit into
Kianmhz:mainfrom
poulcarlsen53:diagnostics-bundle
May 20, 2026
Merged

client: add redacted diagnostics bundle#136
Kianmhz merged 1 commit into
Kianmhz:mainfrom
poulcarlsen53:diagnostics-bundle

Conversation

@poulcarlsen53
Copy link
Copy Markdown
Contributor

Summary

  • add -dump-diag and optional -diag-output to the client
  • write a zip with runtime metadata, goroutine dump, heap profile, structured summary, and a redacted client config
  • redact tunnel keys, script IDs/URLs, upstream proxy values, and password-like fields while keeping useful non-secret labels

Why

This gives users a safe artifact to attach when debugging quota, latency, memory, or config issues without exposing tunnel secrets.

Verification

  • go test -count=1 ./cmd/client
  • go test -count=1 ./...
  • go vet ./...
  • go run ./cmd/client -dump-diag -config client_config.example.json -diag-output $env:TEMP\goose-diag-pr-smoke.zip

@Kianmhz Kianmhz merged commit da7c1a6 into Kianmhz:main May 20, 2026
6 checks passed
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.

3 participants