feat(inbound-api): Log global for method scripts, central ScriptLog rows when traced (D4/D5)
This commit is contained in:
@@ -117,4 +117,19 @@ public class InboundApiOptionsValidatorTests
|
||||
Assert.True(result.Failed);
|
||||
Assert.Contains("StandbyForwardTimeout", result.FailureMessage);
|
||||
}
|
||||
|
||||
// --- Flow Debugger step logs (design 2026-09-09 D7) ---
|
||||
|
||||
[Theory]
|
||||
[InlineData(0)]
|
||||
[InlineData(-1)]
|
||||
public void NonPositiveMaxLogLinesPerRun_IsRejected(int max)
|
||||
{
|
||||
// A zero/negative cap would audit no line of a traced run at all while still
|
||||
// paying for the closing "dropped" row - the option must bound, not disable.
|
||||
var result = Validate(new InboundApiOptions { MaxLogLinesPerRun = max });
|
||||
|
||||
Assert.True(result.Failed);
|
||||
Assert.Contains("MaxLogLinesPerRun", result.FailureMessage);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user