mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-06 21:05:21 +02:00
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>