Skip to content

end to end correlation - #667

Merged
Topmatrixmor2014 merged 1 commit into
FinChippay:mainfrom
Jumongweb:feat/correlation-tracing
Aug 18, 2026
Merged

end to end correlation#667
Topmatrixmor2014 merged 1 commit into
FinChippay:mainfrom
Jumongweb:feat/correlation-tracing

Conversation

@Jumongweb

Copy link
Copy Markdown
Contributor

Closes #643

Summary

  • Generates a unique correlation ID for every frontend API request while preserving caller-provided IDs.
  • Propagates X-Request-ID and X-Session-ID through apiFetch, globally intercepted backend API calls, and the Finchippay SDK.
  • Accepts X-Correlation-ID as a backend compatibility alias and returns both correlation headers.
  • Joins frontend requests to backend Pino logs, AsyncLocalStorage context, Sentry scopes, and canonical error responses.
  • Captures React error-boundary failures in Sentry with correlation and component tags without exposing correlation IDs in the UI.
  • Tags frontend Sentry events and builds with a consistent release derived from SENTRY_RELEASE, Vercel commit SHA, or GitHub SHA.
  • Uploads production source maps when Sentry credentials are configured and removes public source maps after upload.

@github-actions github-actions Bot added the needs-review PR ready for Greptile AI code review label Aug 17, 2026
@github-actions

Copy link
Copy Markdown

🤖 Greptile AI Code Review

Greptile will automatically review this PR (15 file(s) changed).

Review gates:

  • ✅ CodeQL Security Scan
  • ✅ Custom rules (.greptile/config.json)
  • ✅ Architecture guidelines (.greptile/rules.md)

To manually trigger a re-review, comment @greptileai on this PR.
To skip review, add the skip-review label.

@Topmatrixmor2014
Topmatrixmor2014 merged commit 8fd1f65 into FinChippay:main Aug 18, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-review PR ready for Greptile AI code review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issue #74 — End-to-End Correlation-ID Tracing & Sentry Source Maps

2 participants