feat(flow-debugger): carry site-side trace truncation on the route reply (ScadaBridge#54)
ScriptCallResult and RouteToCallResponse gain trailing Truncated/LogsTruncated, filled from the site FlowTraceCollector after Complete(); RouteToCallResponseDto fields 8/9 carry them (sitecommand regen). FlowDebugRunner ORs them into FlowDebugRunResult on the script entry, and on the method entry through a new optional truncation sink on RouteHelper.WithTraceSink (carried through every With* clone). Previously a site run whose collector dropped rows came back as a silently short list. Older sites send false. Claude-Session: https://claude.ai/code/session_01GT67AEHd2Acv1YPwGfXEoV
This commit is contained in:
@@ -810,6 +810,10 @@ message RouteToCallResponseDto {
|
||||
// Flow Debugger (design §5.4): the site's ScriptTrace audit events for a traced run,
|
||||
// in emission order. Empty from an untraced run or an older site (mapper => null).
|
||||
repeated sitestream.AuditEventDto trace_events = 7;
|
||||
// Flow Debugger (Gitea #54): the site's inline trace collector dropped step rows (truncated)
|
||||
// or log-line rows (logs_truncated). proto3 default false from an untraced run or older site.
|
||||
bool truncated = 8;
|
||||
bool logs_truncated = 9;
|
||||
}
|
||||
|
||||
message RouteToGetAttributesRequestDto {
|
||||
|
||||
Reference in New Issue
Block a user