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>
This commit is contained in:
5
.github/workflows/ci.yaml
vendored
5
.github/workflows/ci.yaml
vendored
@@ -133,6 +133,9 @@ jobs:
|
||||
uses: dtinth/setup-github-actions-caching-for-turbo@v1
|
||||
|
||||
- name: Build packages
|
||||
env:
|
||||
# Next.js 需要 NEXT_PUBLIC_* 在 build-time (統帥鐵律)
|
||||
NEXT_PUBLIC_API_URL: https://awoooi.wooo.work
|
||||
run: pnpm turbo build
|
||||
|
||||
- name: Upload build artifacts
|
||||
@@ -240,5 +243,7 @@ jobs:
|
||||
file: apps/${{ matrix.app }}/Dockerfile
|
||||
push: false
|
||||
tags: awoooi-${{ matrix.app }}:test
|
||||
build-args: |
|
||||
NEXT_PUBLIC_API_URL=https://awoooi.wooo.work
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
|
||||
Reference in New Issue
Block a user