feat(site-runtime): ScriptRun rows carry exception detail; per-run log line cap + closing row (D3/D7)
This commit is contained in:
@@ -147,6 +147,18 @@ public class SiteRuntimeOptionsValidatorTests
|
||||
Assert.Equal(30, new SiteRuntimeOptions().TraceArmWindowSeconds);
|
||||
}
|
||||
|
||||
/// <summary>A zero cap would drop every log line AND the closing row that reports the drops.</summary>
|
||||
[Fact]
|
||||
public void ZeroMaxLogLinesPerRun_IsRejected()
|
||||
{
|
||||
// Flow Debugger step logs (design 2026-09-09 D7): the per-run cap must be positive.
|
||||
var result = Validate(new SiteRuntimeOptions { MaxLogLinesPerRun = 0 });
|
||||
|
||||
Assert.True(result.Failed);
|
||||
Assert.Contains("MaxLogLinesPerRun", result.FailureMessage);
|
||||
Assert.Equal(200, new SiteRuntimeOptions().MaxLogLinesPerRun);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void ZeroMaxConcurrentRunsPerScript_IsRejected()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user