Skip to content

Redact secrets in websocket errors#384

Merged
BunsDev merged 1 commit intomainfrom
okcode/redact-secrets-errors
Apr 9, 2026
Merged

Redact secrets in websocket errors#384
BunsDev merged 1 commit intomainfrom
okcode/redact-secrets-errors

Conversation

@BunsDev
Copy link
Copy Markdown
Contributor

@BunsDev BunsDev commented Apr 9, 2026

Summary

  • Added shared redaction helpers for secret-like strings and structured payloads.
  • Redacted websocket error messages and error data on the server before they reach the client.
  • Redacted provider status, thread errors, and rejected websocket errors in the web app.
  • Added tests covering text redaction, structured redaction, thread error presentation, and websocket transport errors.

Testing

  • bun fmt
  • bun lint
  • bun typecheck
  • Not run: bun run test

- Add shared text/value redaction helpers
- Apply redaction to server, transport, and UI error paths
- Cover redaction behavior with unit tests
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
okcode-marketing Ready Ready Preview Apr 9, 2026 11:23pm
v0-compute-the-platform-to-build Ready Ready Preview, Open in v0 Apr 9, 2026 11:23pm

@github-actions github-actions bot added size:M vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Apr 9, 2026
@BunsDev BunsDev merged commit e06dab0 into main Apr 9, 2026
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant