feat: add opt-in dashboard Sentry reporting #489
No reviewers
Labels
No labels
Compat/Breaking
Component/Enclave-Builder
Component/Infrastructure
Deploy/BYOC
Deploy/Full-managed
Deploy/Self-hosted
Interface/API
Interface/CLI
Interface/Git
Interface/Web
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority/Critical
Priority/High
Priority/Low
Priority/Medium
Reviewed/Confirmed
Reviewed/Duplicate
Reviewed/Invalid
Reviewed/Won't Fix
Status/Abandoned
Status/Blocked
Status/Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
public/platform!489
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/frontend-sentry"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
~/.config/caution/.env. Generate owner-private, temporaryfrontend.env,frontend-sentry.envand filteredruntime.envfiles for each invocation; never shell-source the file or modify it. Public build settings are allowlisted; uploader credentials are excluded from browser assets, build arguments and backend containers.make upsequence, after preparation and before migration/restarts.dist/.Operator interface
Keep existing backend settings and add these to the same owner-private file:
Use literal
KEY=valuesyntax: no shell expansion,export, interpreted quoting or inline comments. Use a separate frontend Vue/JavaScript project; the upload project must match the DSN. Make derives release identity from the Git commit. Generated files are temporary and cleaned up; do not hand-edit them.make build-frontend-release: build/validate/upload only; does not replace services or the gateway image.make build-gateway-release: additionally package those exact assets into the gateway image; does not restart services.make up: integrated release and existing rollout sequence. Deployment source guards keep installed services on the canonical~/.config/caution/.env.FRONTEND_RELEASE_DIR=<retained-export>: validate and re-upload an existing export without rebuilding. Its public settings must match; an older export also needs its originalVITE_SENTRY_RELEASE.No DSN leaves reporting disabled and skips upload and uploader-credential requirements. The combined source is still parsed and must be safe/valid. Explicit dedicated-file overrides remain supported for standalone frontend builds; see
frontend/README.mdfor precedence and private artifact retention.Verification
Current candidate:
e53156d4bf3863871a635ec42c6d07d725df818a, one commit on1fad41270748eff75de9027b6469b5c4135b7acf. All newly added test files/cases and their Make/npm runner wiring have been removed. Pre-existing tests remain; the only test-file diff is +15 net lines adapting existing component-test fixtures/expectations to the runtime wrapper. Production implementation is unchanged fromb588e019466db4b7a1744f30ac7fc5b4570b7e8e.Completed on the current commit:
make test: 1,437 Rust tests passed, 52 ignored, 89 Python checks passed, and CLI installer tests passed.Earlier qualification of the unchanged production implementation on
b588e019466dincluded enabled/disabled production-bundle browser checks, container/artifact checks, isolated real-Docker runtime filtering/cleanup, systemd verification, and native-uploader probes against a synthetic local service. Those checks are historical evidence, not reruns on this commit; their dedicated test files are no longer included. No artifacts carrying the current release ID were built in this test-removal revision.Acceptance boundary
No real-project Sentry upload, ingestion or server-side symbolication was exercised. Before production activation, verify the actual project's privacy settings and perform controlled upload/ingestion/symbolication checks. Synthetic endpoints and intercepted browser traffic do not establish the real collector's processing or access-log behavior.
No live deployment, service restart, full deployment E2E or AWS/Nitro qualification was performed for this revision. The 52 ignored Rust tests remain unrun. No formal forge reviewer approval or remote CI success is claimed. Publication does not merge or deploy this PR.
PR-only scope: 28 files, +1,237/-65 (net +1,172). No new tests, unrelated cleanup or agent-local files.
60a4ccaae1to6c8637c362WIP: feat: add opt-in dashboard Sentry reportingto feat: add opt-in dashboard Sentry reporting6c8637c362tofd84366bcafd84366bcatob588e01946b588e01946to70956fe21370956fe213toe53156d4bfView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.