Files
PaperClipAI/doc
Devin FoleyandPaperclip af846cfd8e Keep Sentry run failure context on its own event
Run failure reporting mutates a Sentry scope while the application skips
Sentry's OpenTelemetry setup. Without an async context manager, that scope
can remain active and attach old run IDs and fingerprints to later errors.

Pass the existing run metadata directly to captureException. Keep ordinary
exception capture unchanged. Add a real-SDK regression with an in-memory
transport and update the call-contract tests and monitoring documentation.

The regression failed before the fix. All 67 focused tests passed with the
optional Sentry SDK installed. Server typecheck and module boundaries passed.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-09-22 12:17:58 -07:00
..
…