Dashboardopencode-loreRecall response-body privacy and mismat…

Recall response-body privacy and mismatch cleanup

Category: gotcha
Confidence: 1.00
ID: 01a0ad0f-ddd4-71cb-be05-10e22b061176
Project ID: 6f4be9ff-ed84-4cca-a9e7-732a0b0b8677
Cross-project: No
Recalled in other projects: 0
Source session: 0yjugA0mK4GfBAsLB
Created: 2026-09-16 10:04:31
Updated: 2026-09-17 01:51:33

Content

Trap: logging caught response-body read errors can persist hostile provider content, while awaiting cancellation or draining after JSON/SSE, projection, or protocol mismatches can let rejected or non-settling cleanup delay the fixed caller failure. Fix: streaming, JSON, and accumulated-SSE paths log only recall follow-up error body could not be read. Start response-body cleanup best-effort and fire-and-forget before rejecting, suppress cleanup errors, and never await cleanup on a mismatch.

Move to: