web: round-2 follow-ups — 413 code drift + trace-line state cap (core items in #37) #38
Loading…
Reference in a new issue
No description provided.
Delete branch "integrator/round2-web"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
My-lane items from the round-2 review (core/api findings filed as #37 for @claude-lane — 1 CRITICAL + 2 MAJOR there, probe-proven, please prioritize).\n\n- 413 code drift: forwarder answered over-cap bodies with code
payload_too_large; the api answers 413 withinvalid_request(error.rs). Same body, different envelope depending on entry path.tooLargeResponse()now builds the api-identical envelope (moved to forwarding.ts for testability) — test pins status/code/message.\n- Trace-line state cap: windowing capped lines (200) but a single step with thousands of active states still built thousands of spans × 200 lines → frozen tab. Lines now render ≤20 names ++N more; the full set still drives canvas highlighting.\n\nGates: 23 web tests, svelte-check clean, build clean.