feat(site-runtime): ScriptRun rows carry exception detail; per-run log line cap + closing row (D3/D7)
This commit is contained in:
@@ -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.");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user