Skip to content

feat: integrate Sentry for error tracking#145

Merged
Hexstar-labs merged 1 commit intoBrainTease:mainfrom
Christopherdominic:feature/issue-107-sentry-integration
Mar 29, 2026
Merged

feat: integrate Sentry for error tracking#145
Hexstar-labs merged 1 commit intoBrainTease:mainfrom
Christopherdominic:feature/issue-107-sentry-integration

Conversation

@Christopherdominic
Copy link
Copy Markdown

  • Install @sentry/nestjs in backend and @sentry/nextjs in frontend
  • Configure Sentry initialization with DSN from environment
  • Add instrument.ts for backend error capture
  • Configure Sentry client, server, and edge configs for frontend
  • Capture unhandled exceptions and promise rejections
  • Add release tracking tied to git commit SHA
  • Filter sensitive data (cookies, auth headers) before sending
  • Add SENTRY_DSN and GIT_COMMIT_SHA to .env.example files
  • Update CI workflow to inject commit SHA during builds

Closes #107

Description

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Dependency update
  • CI/CD improvement

Related Issues

Closes #

Testing

  • Unit tests added/updated
  • Integration tests added/updated
  • E2E tests added/updated (if applicable)
  • Manual testing performed

Documentation

  • README updated (if applicable)
  • API documentation updated (if applicable)
  • Code comments added for complex logic
  • Migration guide added (if breaking changes)

Breaking Changes

  • No breaking changes
  • Breaking changes documented below:

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests passed locally with my changes
  • Any dependent changes have been merged and published

Screenshots (if applicable)

Additional Context

- Install @sentry/nestjs in backend and @sentry/nextjs in frontend
- Configure Sentry initialization with DSN from environment
- Add instrument.ts for backend error capture
- Configure Sentry client, server, and edge configs for frontend
- Capture unhandled exceptions and promise rejections
- Add release tracking tied to git commit SHA
- Filter sensitive data (cookies, auth headers) before sending
- Add SENTRY_DSN and GIT_COMMIT_SHA to .env.example files
- Update CI workflow to inject commit SHA during builds

Closes BrainTease#107
@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Mar 29, 2026

@Christopherdominic Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Hexstar-labs Hexstar-labs merged commit 7ace9da into BrainTease:main Mar 29, 2026
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.

CI/CD: Monitoring — integrate Sentry for error tracking

3 participants