You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
packages/discovery-index/src/sentry.ts (#4934) — error tracking for the hosted discovery-index service (a Node service in a Cloudflare Container at discovery.loopover.ai, so posthog-node is usable here, unlike a Workers isolate). Two things make this surface special:
It currently reports into the shared metagraphed Sentry project (its own header documents this) — there was no loopover-owned project to point at when it shipped. Migrating it gives it a loopover-owned home for the first time and removes a cross-project entanglement ahead of metagraphed's own Sentry sunset (Sentry decommission (repo side): gated cutover checklist metagraphed#7766).
It has a full release/sourcemap pipeline: src/upload-sourcemaps.ts (@sentry/cli), scripts/validate-sentry-release.mjs, scripts/validate-sourcemaps.mjs — release + sourcemap upload are part of its deploy, and the validators gate drift.
Deliverables
Swap the capture sink to PostHog $exception via posthog-node, preserving the module's existing shape: field-name + value-pattern redaction (SECRET_FIELD/SECRET_VALUE), fingerprints, levels, the DISCOVERY_INDEX_SENTRY_TAG_KEYS tag allowlist (renamed accordingly).
Replace the @sentry/cli release/sourcemap pipeline with the PostHog equivalent (posthog-cli sourcemap inject + upload, release tagging), and update both validator scripts to validate the PostHog artifacts instead.
Part of epic #8286 (Phase 1 — Errors).
Current state
packages/discovery-index/src/sentry.ts(#4934) — error tracking for the hosted discovery-index service (a Node service in a Cloudflare Container at discovery.loopover.ai, soposthog-nodeis usable here, unlike a Workers isolate). Two things make this surface special:src/upload-sourcemaps.ts(@sentry/cli),scripts/validate-sentry-release.mjs,scripts/validate-sourcemaps.mjs— release + sourcemap upload are part of its deploy, and the validators gate drift.Deliverables
$exceptionviaposthog-node, preserving the module's existing shape: field-name + value-pattern redaction (SECRET_FIELD/SECRET_VALUE), fingerprints, levels, theDISCOVERY_INDEX_SENTRY_TAG_KEYStag allowlist (renamed accordingly).@sentry/clirelease/sourcemap pipeline with the PostHog equivalent (posthog-clisourcemap inject + upload, release tagging), and update both validator scripts to validate the PostHog artifacts instead.Boundaries
Resources