refactor(inboundapi): fail-fast on missing inbound ExecutionId stash

This commit is contained in:
Joseph Doherty
2026-05-21 17:26:49 -04:00
parent d8453bfba2
commit dc2c73b07d
2 changed files with 11 additions and 3 deletions
@@ -172,6 +172,9 @@ public class InboundScriptExecutor
RouteHelper route,
TimeSpan timeout,
CancellationToken cancellationToken = default,
// Deliberate ordering: this optional parameter trails the CancellationToken
// because it was appended additively for non-breaking contract evolution.
// Every call site passes it by named argument (parentExecutionId:).
Guid? parentExecutionId = null)
{
// InboundAPI-004: keep the timeout source and the request-abort source