Dashboardopencode-loreRecall-failure telemetry isolation and …

Recall-failure telemetry isolation and Bun SDK testing

Category: gotcha
Confidence: 1.00
ID: 01a09cca-ed68-7798-b64c-b37f8879f9e9
Project ID: 6f4be9ff-ed84-4cca-a9e7-732a0b0b8677
Cross-project: No
Recalled in other projects: 0
Source session: 1O1uX56bx2edi1N9h
Created: 2026-08-25 14:25:44
Updated: 2026-09-13 22:02:19

Content

Trap: clearing cloned Sentry scopes looks detached, but inherited SDK processing metadata and trace/request state can still reach the envelope. Fix: capture Recall continuation failed through brand-new current/isolation scopes, pin them as captured scopes, then reconstruct the event in beforeSend and the transport to only fixed warning metadata and one runtime-allowlisted category. Report at most once after an attempted continuation, including post-delivery failures; never report aborts or let telemetry affect the response. Verify with a real initialized SDK envelope seeded with private request/trace state and fail-first evidence against the broken revision.

Move to: