From cb344a9caf2de13cfb275082ae1aca523d4b610f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 22 Jul 2026 10:03:39 +0000 Subject: [PATCH 1/2] Initial plan From 06237f6a8d4e5740a90930d0f7b08da13c9e785b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 22 Jul 2026 10:16:48 +0000 Subject: [PATCH 2/2] test: assert pi offline env in wasm golden output Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- pkg/workflow/wasm_golden_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/workflow/wasm_golden_test.go b/pkg/workflow/wasm_golden_test.go index 56ab22fe946..9a915f27350 100644 --- a/pkg/workflow/wasm_golden_test.go +++ b/pkg/workflow/wasm_golden_test.go @@ -347,6 +347,10 @@ Test the %s engine compilation path. yamlOutput, err := compiler.CompileToYAML(wd, "workflow.md") require.NoError(t, err, "%s engine compile failed", eng.name) + if eng.name == "pi" { + require.Contains(t, yamlOutput, "PI_OFFLINE: 1") + } + // Keep codex golden stable across branches where CODEX_API_KEY/OPENAI_API_KEY // may or may not be explicitly excluded in gh-aw firewall args. if eng.name == "codex" {