From 13fe6d1b95cdb7057fe2ec03960717b4a1544a08 Mon Sep 17 00:00:00 2001 From: Matthew Pendrey Date: Fri, 12 Sep 2025 15:55:49 +0100 Subject: [PATCH] fix engine not timing out as ctx incorrectly commented out --- pkg/workflows/wasm/host/module.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkg/workflows/wasm/host/module.go b/pkg/workflows/wasm/host/module.go index f3d185e373..35e588f42e 100644 --- a/pkg/workflows/wasm/host/module.go +++ b/pkg/workflows/wasm/host/module.go @@ -523,10 +523,8 @@ func runWasm[I, O proto.Message]( donSeed := int64(h.Sum64()) - _ = ctxWithTimeout exec := &execution[O]{ - //ctx: ctxWithTimeout, - ctx: ctx, + ctx: ctxWithTimeout, capabilityResponses: map[int32]<-chan *sdkpb.CapabilityResponse{}, secretsResponses: map[int32]<-chan *secretsResponse{}, module: m,