feat(inbound-api): executor threads the trace flag; endpoint honours ApiMethod.TraceAllCalls
Flow Debugger (design 2026-09-05 §5.2): InboundScriptExecutor.ExecuteAsync gains a trailing trace parameter that builds the script's Route helper WithTrace(trace); the inbound endpoint passes method.TraceAllCalls so a flagged integration method is traced on every real call. Claude-Session: https://claude.ai/code/session_01GSLkkHKz9JrAtmJjmQK3cP
This commit is contained in:
@@ -275,7 +275,10 @@ public static class EndpointExtensions
|
||||
|
||||
var scriptResult = await executor.ExecuteAsync(
|
||||
method, paramResult.Parameters, routeHelper, timeout,
|
||||
httpContext.RequestAborted, parentExecutionId);
|
||||
httpContext.RequestAborted, parentExecutionId,
|
||||
// Flow Debugger (design 2026-09-05 §5.2): a method flagged TraceAllCalls traces every
|
||||
// production call so Replay of a real integration call is complete.
|
||||
trace: method.TraceAllCalls);
|
||||
|
||||
if (!scriptResult.Success)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user