Skip to content

Fix setup.sh: Add missing safe-outputs MCP HTTP transport files#11144

Merged
pelikhan merged 2 commits intocopilot/convert-safe-outputs-to-html-transportfrom
copilot/fix-setup-script
Jan 22, 2026
Merged

Fix setup.sh: Add missing safe-outputs MCP HTTP transport files#11144
pelikhan merged 2 commits intocopilot/convert-safe-outputs-to-html-transportfrom
copilot/fix-setup-script

Conversation

Copy link
Contributor

Copilot AI commented Jan 22, 2026

The safe-outputs MCP HTTP server failed to start in workflow run 21231624086 because two required files were missing from /opt/gh-aw/safeoutputs/:

  • safe_outputs_mcp_server_http.cjs
  • mcp_http_transport.cjs

Changes

Added the missing files to the SAFE_OUTPUTS_FILES array in actions/setup/setup.sh:

SAFE_OUTPUTS_FILES=(
  "safe_outputs_mcp_server.cjs"
  "safe_outputs_mcp_server_http.cjs"    # Added
  "safe_outputs_bootstrap.cjs"
  # ...
  "mcp_logger.cjs"
  "mcp_http_transport.cjs"              # Added
  "mcp_handler_python.cjs"
  # ...
)

The files exist in actions/setup/js/ but weren't being copied to the runtime directory because they were omitted from the copy list.

Original prompt

Reference: https://github.com/githubnext/gh-aw/actions/runs/21231624086/job/61091141672#step:19:1

Fix setup.sh


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Add safe_outputs_mcp_server_http.cjs and mcp_http_transport.cjs to the
SAFE_OUTPUTS_FILES array. These files are required by the safe-outputs
MCP HTTP server but were missing from the copy list, causing GitHub
Actions workflow failures.

Fixes the error seen in workflow run 21231624086:
- safe_outputs_mcp_server_http.cjs
- mcp_http_transport.cjs

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix errors in setup.sh script Fix setup.sh: Add missing safe-outputs MCP HTTP transport files Jan 22, 2026
Copilot AI requested a review from pelikhan January 22, 2026 01:14
@pelikhan pelikhan marked this pull request as ready for review January 22, 2026 01:14
@pelikhan pelikhan merged commit fd97c32 into copilot/convert-safe-outputs-to-html-transport Jan 22, 2026
@pelikhan pelikhan deleted the copilot/fix-setup-script branch January 22, 2026 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants