Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pkg/workflow/safe_outputs_mcp_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`) {
Expand Down Expand Up @@ -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"`) {
Expand Down