Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- @sentry/nextjs SDK 추가 (클라이언트/서버/엣지 초기화) - DSN 가드, beforeSend PII 스크러빙, environment 태깅 - 에러 바운더리 3곳 Sentry.captureException() 연동 - next.config.js → next.config.ts 변환 + withSentryConfig 래핑 - tunnelRoute(/api/_sentry-tunnel)로 ad-blocker 우회 - CSP connect-src에 Sentry ingest 도메인 추가 - CLAUDE.md, ARCHITECTURE.md 최신화 Co-Authored-By: Claude <noreply@anthropic.com>
393112c to
e7269c0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@sentry/nextjs) 연동으로 웹 에러 실시간 모니터링 구축Changes
sentry.client.config.tssentry.server.config.tssentry.edge.config.tsinstrumentation.tsonRequestErrornext.config.js → next.config.tswithSentryConfig래핑global-error.tsx(user)/error.tsx(admin)/error.tsx.env.exampleCLAUDE.mdARCHITECTURE.mdDesign Decisions
tunnelRoute: '/api/_sentry-tunnel'beforeSendPII 스크러빙if (!dsn) return)environment: VERCEL_ENVnext.config.tsESM 변환require()lint 에러 해결*.sentry.io→ 특정 ingest 도메인만 허용 (보안 리뷰 P1)Test Plan
pnpm lint— 에러 0pnpm --filter web typecheck— 통과pnpm --filter web build— 성공/sentry-example-page또는 의도적 에러로 캡처 테스트🤖 Generated with Claude Code