web: round-2 follow-ups — 413 code drift + trace-line state cap (core items in #37) #38

Merged
nicolas_naranjo merged 1 commit from integrator/round2-web into master 2026-10-24 10:15:35 -05:00
Owner

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 with invalid_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.

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 with `invalid_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.
web: round-2 hunt follow-ups — 413 code drift + trace-line state cap
All checks were successful
ci / web (pull_request) Successful in 1m24s
ci / rust (pull_request) Successful in 2m15s
ci / image (oven/bun:1.4.2-debian=docker-image://git.yhkze.net/actions/bun:1.4.2-debian node:22-bookworm-slim=docker-image://git.yhkze.net/actions/node:22-bookworm-slim , web, deploy/web.Dockerfile, rgxr-web) (pull_request) Has been skipped
ci / image (rust:1-slim-bookworm=docker-image://git.yhkze.net/actions/rust:1-slim-bookworm debian:bookworm-slim=docker-image://git.yhkze.net/actions/debian:bookworm-slim , ., deploy/api.Dockerfile, rgxr-api) (pull_request) Has been skipped
aec1aa85fc
From the round-2 stability review (core findings filed as #37 for
the api lane; these two are mine):

- Forwarder 413: the over-cap envelope said code "payload_too_large"
  while the api answers 413 with "invalid_request" (error.rs) — the
  same oversized body surfaced differently depending on which tier
  rejected it. tooLargeResponse() now builds the api-identical
  envelope (moved to forwarding.ts so it is unit-testable); test
  pins status + code + message.
- RunPanel: trace windowing capped lines (200) but not states per
  line — one step with thousands of active states still froze the
  tab. Lines now render at most 20 state names + "+N more" (the
  full set still drives the canvas highlighting).
nicolas_naranjo deleted branch integrator/round2-web 2026-10-24 10:15:35 -05:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
k8s-services/rgxr!38
No description provided.