feat(site-runtime): ScriptRun rows carry exception detail; per-run log line cap + closing row (D3/D7)

This commit is contained in:
Joseph Doherty
2026-09-09 12:23:01 -04:00
parent 964bb9b2d7
commit 750c542c2f
5 changed files with 223 additions and 6 deletions
@@ -113,5 +113,11 @@ public sealed class SiteRuntimeOptionsValidator : OptionsValidatorBase<SiteRunti
$"ScadaBridge:SiteRuntime:TraceArmWindowSeconds must be greater than 0 " +
$"(was {options.TraceArmWindowSeconds}); it is how long the Instance Actor waits for the " +
"device echo of a Flow Debugger traced write before the arm expires (design 2026-09-05 §5.3).");
builder.RequireThat(options.MaxLogLinesPerRun > 0,
$"ScadaBridge:SiteRuntime:MaxLogLinesPerRun must be greater than 0 " +
$"(was {options.MaxLogLinesPerRun}); it is the per-run cap on Flow Debugger ScriptLog " +
"rows a script's Log.* calls may produce (design 2026-09-09 D7), and a run that may " +
"emit no lines at all cannot report its own truncation.");
}
}