Skip to content

client: add redacted diagnostics bundle#136

Open
poulcarlsen53 wants to merge 1 commit into
Kianmhz:mainfrom
poulcarlsen53:diagnostics-bundle
Open

client: add redacted diagnostics bundle#136
poulcarlsen53 wants to merge 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

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.

2 participants