Flow Debugger: surface site-side trace truncation (Truncated / LogsTruncated on the wire) #54
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Register row 112 (deferred-work register).
ScriptCallResult/RouteToCallResponsecarryTraceEventsbut noTruncated/LogsTruncatedflags, so the page's truncation badges reflect central'sFlowTraceCollectoronly; a site run whose collector dropped rows returns a silently short list. The 1 MB byte budget makes this reachable sooner. Fix: trailingbool Truncated+LogsTruncatedon both records, new field onRouteToCallResponseDto(regen viadocker/regen-proto.sh sitecommand), andFlowDebugRunnerORing them intoFlowDebugRunResult.Revisit trigger (from register): First Live run that shows fewer site steps than its Replay.
Current state: Not done. Replay is never truncated (site audit rows are written in full).
Source:
docs/plans/2026-07-08-deferred-work-register.mdrow 112Fixed on main
6d5bb618: ScriptCallResult / RouteToCallResponse carryTruncated+LogsTruncatedfrom the site trace collector (RouteToCallResponseDto fields 8/9, additive); FlowDebugRunner ORs them with central's flags on the script-entry path. The method-entry path also dropped them — RouteHelper.WithTraceSink gains an optional truncation callback preserved across all With* copies. Evidence: SiteRuntime 1004, ManagementService 721, InboundAPI 371, Communication 816 passed; 10 cases fail without the fix.