feat(central-ui): Flow Debugger status strip log counts + inline-truncation notes; detail cross-step selection
This commit is contained in:
@@ -15,7 +15,14 @@ namespace ZB.MOM.WW.ScadaBridge.CentralUI.Services;
|
||||
/// <param name="Raw">The server's <see cref="FlowDebugRunResult"/>; null when no result came back.</param>
|
||||
/// <param name="Error">Human-readable failure, null on success.</param>
|
||||
/// <param name="ErrorCode">Machine-readable failure code (<c>STANDBY_NODE</c>, <c>NO_TRIGGER_WITHIN_WINDOW</c>, <c>UNAUTHORIZED</c>, <c>SERVICE_UNAVAILABLE</c>, …), null on success.</param>
|
||||
public sealed record FlowDebugOutcome(FlowGraph? Graph, FlowDebugRunResult? Raw, string? Error, string? ErrorCode)
|
||||
/// <param name="LogsTruncated">
|
||||
/// Step logs (design 2026-09-09 D7): true when the inline trace collector dropped low-priority
|
||||
/// <c>ScriptLog</c> rows to protect room for the step rows — the run's lines are incomplete inline,
|
||||
/// while Replay (which reads the never-truncated audit store) is complete. Mirrors
|
||||
/// <see cref="FlowDebugRunResult.LogsTruncated"/> so the page can note it without unwrapping the raw result.
|
||||
/// </param>
|
||||
public sealed record FlowDebugOutcome(
|
||||
FlowGraph? Graph, FlowDebugRunResult? Raw, string? Error, string? ErrorCode, bool LogsTruncated = false)
|
||||
{
|
||||
/// <summary>True when a graph was built (the run may still have finished incomplete — see <see cref="Raw"/>).</summary>
|
||||
public bool Success => Graph != null && Error == null;
|
||||
|
||||
Reference in New Issue
Block a user