feat: opt-in observability — Sentry-protocol errors + Langfuse eval traces - #175
Merged
Conversation
fazpu
enabled auto-merge (squash)
July 29, 2026 14:30
Coverage reportClick to see where and how coverage changed
This report was generated by python-coverage-comment-action |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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.
Owner-directed observability wiring, strictly opt-in via env (absent config = byte-identical behavior, nothing imported — proven by an import-purity test):
REMEMBERSTACK_SENTRY_DSN(Sentry-protocol — works with Sentry/GlitchTip/Bugsink) initializes in the selfhost api/worker/setup entrypoints; the worker exception path captures with stage/lane/processing_id tags. Metadata only — never prompt/completion text (allowlistedbefore_send).LANGFUSE_*vars; the LoCoMo answer/judge stages emit one trace per question with per-call spans (model, usage, cost, latency, verdicts). Observer-only: the protocol fingerprint (prompts/schemas/catalog/manifests) has zero diff, asserted against baseline.run_oneand a raising tracer through answer/judge with identical outputs.observability; compose/.env.example/docs wired. Instance provisioning (Langfuse self-host vs cloud; GlitchTip vs Betterstack) is an infra decision tracked separately.Review: Grok REQUEST-CHANGES (2 MAJOR on control-flow isolation, 3 MINOR, 2 NIT) → all applied → verified. Final review by Claude. Fast gate local (130 passed); full matrix in CI.