Honor cancellation after recording native evaluation evidence

This commit is contained in:
2026-11-25 17:18:32 +00:00
parent feb83b29b3
commit 6caefe9447
3 changed files with 73 additions and 3 deletions

View File

@@ -191,6 +191,9 @@ func executeNative[T any](ctx context.Context, execution ExecutionContext[T], op
} else {
evaluate(result)
}
if canceled := ctx.Err(); canceled != nil {
return empty, errors.Join(canceled, fatal)
}
if fatal != nil {
return empty, fatal
}