Skip to content

Revert MCP Gateway to v0.0.12 due to v0.0.13 stdout bug#9484

Closed
lpcox with Copilot wants to merge 4 commits into
mainfrom
copilot/update-mcp-gateway-version
Closed

Revert MCP Gateway to v0.0.12 due to v0.0.13 stdout bug#9484
lpcox with Copilot wants to merge 4 commits into
mainfrom
copilot/update-mcp-gateway-version

Conversation

Copilot AI commented Jan 10, 2026

Copy link
Copy Markdown
Contributor

Reverts the MCP Gateway container image from v0.0.13 back to v0.0.12 due to a critical bug discovered in v0.0.13 during smoke testing.

Issue Discovered

The MCP Gateway v0.0.13 fails to start in containerized environments with the error:

failed to write gateway configuration to stdout: failed to flush stdout: sync /dev/stdout: invalid argument

While the gateway successfully launches all MCP servers and registers routes, it exits with code 1 when attempting to write configuration to stdout, causing workflow failures.

Changes

  • Version constant: DefaultMCPGatewayVersion reverted to v0.0.12 in pkg/constants/constants.go
  • Test expectations: Updated constants_test.go to verify v0.0.12
  • Workflow compilation: All 117 workflow lock files regenerated with v0.0.12 container reference

All workflows now use the stable ghcr.io/githubnext/gh-aw-mcpg:v0.0.12.

Testing

Smoke tests now pass successfully with v0.0.12. The v0.0.13 stdout bug needs to be fixed in the MCP Gateway before attempting another upgrade.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits January 10, 2026 00:16
Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
@Mossaka Mossaka added the smoke label Jan 10, 2026
@github-actions

github-actions Bot commented Jan 10, 2026

Copy link
Copy Markdown
Contributor

💫 TO BE CONTINUED... Smoke Claude failed! Our hero faces unexpected challenges...

@github-actions

github-actions Bot commented Jan 10, 2026

Copy link
Copy Markdown
Contributor

🌑 The shadows whisper... Smoke Codex failed. The oracle requires further meditation...

@github-actions

github-actions Bot commented Jan 10, 2026

Copy link
Copy Markdown
Contributor

📰 DEVELOPING STORY: Smoke Copilot reports failed. Our correspondents are investigating the incident...

@github-actions

github-actions Bot commented Jan 10, 2026

Copy link
Copy Markdown
Contributor

💀 Blimey! Changeset Generator failed and walked the plank! No treasure today, matey! ☠️

Copilot AI changed the title [WIP] Update MCP gateway version to v0.0.13 Update MCP Gateway to v0.0.13 Jan 10, 2026
Copilot AI requested a review from lpcox January 10, 2026 00:21
@Mossaka

Mossaka commented Jan 10, 2026

Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 10, 2026

Copy link
Copy Markdown
Contributor Author

@copilot please debug this run failure https://github.com/githubnext/gh-aw/actions/runs/20869456879/job/59968018192#step:24:1

The smoke-copilot workflow failed at step 24 (Setup MCPs) because the MCP Gateway v0.0.13 has a bug. The gateway starts successfully and registers all tools, but then fails with:

Warning: failed to write gateway configuration to stdout: failed to flush stdout: sync /dev/stdout: invalid argument

This appears to be a regression in v0.0.13 where the gateway can't write its configuration to stdout in the containerized environment. The gateway times out after 60 seconds of health check attempts, causing the workflow to fail.

Should I revert to v0.0.12 or is there a v0.0.14 available that fixes this issue?

@copilot please debug this run failure https://github.com/githubnext/gh-aw/actions/runs/20869456879/job/59968018192#step:24:1

The MCP Gateway v0.0.13 has a bug where it fails to write configuration to stdout: "failed to flush stdout: sync /dev/stdout: invalid argument". This causes the gateway to exit with code 1 even though it successfully starts all MCP servers.

Reverting to v0.0.12 which was working correctly. Will coordinate with the MCP Gateway team to fix v0.0.13 before attempting another upgrade.

Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
Copilot AI changed the title Update MCP Gateway to v0.0.13 Revert MCP Gateway to v0.0.12 due to v0.0.13 stdout bug Jan 10, 2026
Copilot AI requested a review from Mossaka January 10, 2026 00:49
@pelikhan pelikhan closed this Jan 10, 2026
@github-actions github-actions Bot deleted the copilot/update-mcp-gateway-version branch April 2, 2026 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants