feat(site-runtime): ScriptRun rows carry exception detail; per-run log line cap + closing row (D3/D7)
This commit is contained in:
@@ -243,4 +243,18 @@ public class SiteRuntimeOptions
|
||||
/// Default: 30.
|
||||
/// </summary>
|
||||
public int TraceArmWindowSeconds { get; set; } = 30;
|
||||
|
||||
/// <summary>
|
||||
/// Flow Debugger step logs (design 2026-09-09 D7): the maximum number of <c>ScriptLog</c>
|
||||
/// trace rows ONE script run may produce — the author's own <c>Log.*</c> lines plus the
|
||||
/// runtime lines captured while the run is traced. Lines past the cap are counted and
|
||||
/// dropped, and the run emits one closing <c>warn</c> row naming the dropped count, so a
|
||||
/// chatty script degrades to a truncated log instead of an unbounded row stream.
|
||||
///
|
||||
/// <para>The cap is per RUN, not per script: an inline shared script shares its caller's
|
||||
/// logger and therefore its counter. It only bounds trace rows — every line still reaches
|
||||
/// the node's <c>ILogger</c>, traced or not — and an untraced run produces no rows at all.
|
||||
/// Must be greater than 0. Default: 200.</para>
|
||||
/// </summary>
|
||||
public int MaxLogLinesPerRun { get; set; } = 200;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user