fix(native): bound retained observations and preserve failure evidence

This commit is contained in:
morluto
2026-10-09 01:55:12 +08:00
parent d6cc9ca3a6
commit 7c323870c2
15 changed files with 1045 additions and 36 deletions
@@ -205,6 +205,8 @@ export const nativeCallObservationResultSchema = z.strictObject({
status: z.enum(["complete", "partial"]),
event_limit_reached: z.boolean(),
resource_limit_reached: z.boolean(),
/** Aggregate breakpoint-location metadata exhausted its retained-byte budget. */
breakpoint_locations_truncated: z.boolean().optional(),
/** Requests that matched no code in any image loaded while observing. */
unresolved_breakpoints: z.array(z.number().int().nonnegative()),
}),