Skip to content

Keep SQL and provider payloads out of API and prefetch logs - #3221

Merged
shizn merged 1 commit into
mainfrom
fix/sanitize-api-and-prefetch-logging
Nov 29, 2026
Merged

shizn merged 1 commit into
mainfrom
fix/sanitize-api-and-prefetch-logging

Conversation

@shizn

@shizn shizn commented Nov 29, 2026

Copy link
Copy Markdown
Collaborator

API and prefetch logs now serialize driver errors as a bounded diagnostic code or status. The Sentry transports omit complete log records. Cache, prefetch and service call sites keep operation timing while omitting query arguments, cache keys, URLs and response data. SQL execution errors propagate without adding a copy of the query.

Both packages build on Node 24 and the API security suite passes all 658 tests. The installed Pino 8 and Pino 9 stacks each sent two events through the real Sentry transport to a local handler with no network sends. Both retained the diagnostic code and service tag and omitted synthetic query, result and credential fields.

@vercel

vercel Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
ossinsight-docs Ready Ready Preview Nov 29, 2026 3:54pm UTC
ossinsight-web Ready Ready Preview Nov 29, 2026 3:54pm UTC

Request Review

@shizn
shizn merged commit 3f68ca8 into main Nov 29, 2026
5 checks passed
@shizn
shizn deleted the fix/sanitize-api-and-prefetch-logging branch November 29, 2026 15:59

This branch was successfully deployed

2 active deployments
Preview – ossinsight-web — 9c5bf462 Deployed Nov 29, 2026 by vercel[bot]
Preview – ossinsight-docs — 9c5bf462 Deployed Nov 29, 2026 by vercel[bot]
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