Commit Graph

3 Commits

Author SHA1 Message Date
OG T
9bff46a1b0 feat: integrate Sentry + fix CI/CD issues
Sentry Integration (補強 SignOz):
- Add @sentry/nextjs for frontend error tracking + session replay
- Add sentry-sdk[fastapi] for backend error tracking
- Create sentry.client/server/edge.config.ts
- Integrate with next.config.js + instrumentation.ts
- Add Sentry exception capture in FastAPI error handler
- Create deployment scripts for Self-Hosted @ 192.168.0.110

CI/CD Fixes:
- Fix F821 Undefined name 'Field' in incidents.py
- Add NEXT_PUBLIC_API_URL env var to CI build step
- Add build-arg to Docker build verification

E2E Test Improvements:
- Fix strict mode violations in dashboard-acceptance tests
- Add timeout increase for Phase 4 demo tests
- Make tests more resilient to UI variations

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 15:19:52 +08:00
OG T
88c563cfea chore(build): harden turbo cache boundaries and outputs to prevent stale deployments
- Add globalDependencies: .env, .env.*, tsconfig.json
- Add env array with NEXT_PUBLIC_* for build task
- Expand outputs to include build/**
- Add outputs for lint/typecheck/test tasks

Fixes: Cache poisoning issue (stale code deployment)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 11:35:11 +08:00
OG T
d96bd03128 fix: add root monorepo config files (pnpm-workspace.yaml) 2026-03-22 19:00:45 +08:00