From df7ac130f4ec6a314d34432c109ed69b88c75db5 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 18 Jun 2026 05:57:16 +0000 Subject: [PATCH 1/2] Initial plan From f352d240fdc4acc7cd0939c1f2f8680935d0014b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 18 Jun 2026 06:08:30 +0000 Subject: [PATCH 2/2] fix: update safe outputs MCP mount test assertions to include /tmp/gh-aw mount Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- pkg/workflow/safe_outputs_mcp_integration_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/workflow/safe_outputs_mcp_integration_test.go b/pkg/workflow/safe_outputs_mcp_integration_test.go index 39a4c366a7d..4b84552f129 100644 --- a/pkg/workflow/safe_outputs_mcp_integration_test.go +++ b/pkg/workflow/safe_outputs_mcp_integration_test.go @@ -68,7 +68,7 @@ Test safe outputs workflow with MCP server integration. if !strings.Contains(yamlStr, `"container": "`+pinnedGhAwNodeImage+`"`) { t.Error("Expected safeoutputs MCP server to run in the gh-aw node container") } - if !strings.Contains(yamlStr, `"mounts": ["\${GITHUB_WORKSPACE}:\${GITHUB_WORKSPACE}:rw", "${RUNNER_TEMP}/gh-aw/safeoutputs:${RUNNER_TEMP}/gh-aw/safeoutputs:rw"]`) { + if !strings.Contains(yamlStr, `"mounts": ["\${GITHUB_WORKSPACE}:\${GITHUB_WORKSPACE}:rw", "${RUNNER_TEMP}/gh-aw/safeoutputs:${RUNNER_TEMP}/gh-aw/safeoutputs:rw", "/tmp/gh-aw:/tmp/gh-aw:rw"]`) { t.Error("Expected safeoutputs MCP server mounts for workspace, runtime files, and logs") } if !strings.Contains(yamlStr, `"entrypoint": "sh"`) { @@ -214,7 +214,7 @@ Test safe outputs workflow with Codex engine. if !strings.Contains(yamlStr, `container = "`+pinnedGhAwNodeImage+`"`) { t.Error("Expected safeoutputs MCP server to run in the gh-aw node container in TOML") } - if !strings.Contains(yamlStr, `mounts = ["\${GITHUB_WORKSPACE}:\${GITHUB_WORKSPACE}:rw", "${RUNNER_TEMP}/gh-aw/safeoutputs:${RUNNER_TEMP}/gh-aw/safeoutputs:rw"]`) { + if !strings.Contains(yamlStr, `mounts = ["\${GITHUB_WORKSPACE}:\${GITHUB_WORKSPACE}:rw", "${RUNNER_TEMP}/gh-aw/safeoutputs:${RUNNER_TEMP}/gh-aw/safeoutputs:rw", "/tmp/gh-aw:/tmp/gh-aw:rw"]`) { t.Error("Expected safeoutputs TOML MCP configuration to mount workspace, runtime files, and logs") } if !strings.Contains(yamlStr, `entrypoint = "sh"`) {