Skip to content

Update mcpg to ghcr.io/githubnext/gh-aw-mcpg:v0.0.11#9472

Merged
Mossaka merged 9 commits into
mainfrom
copilot/update-mcpg-version
Jan 9, 2026
Merged

Update mcpg to ghcr.io/githubnext/gh-aw-mcpg:v0.0.11#9472
Mossaka merged 9 commits into
mainfrom
copilot/update-mcpg-version

Conversation

Copilot AI commented Jan 9, 2026

Copy link
Copy Markdown
Contributor
  • Identify all files referencing the MCP Gateway version
  • Update DefaultMCPGatewayVersion in pkg/constants/constants.go from v0.0.10 to v0.0.11
  • Update test expectation in pkg/constants/constants_test.go
  • Update test expectations in pkg/workflow/docker_predownload_test.go (6 instances)
  • Fix compiler to replace latest with pinned version in pkg/workflow/mcp_servers.go
  • Add docker socket mount (-v /var/run/docker.sock:/var/run/docker.sock) for docker-in-docker support
  • Pass required gateway environment variables (MCP_GATEWAY_PORT, MCP_GATEWAY_DOMAIN, MCP_GATEWAY_API_KEY) to docker container
  • Recompile all workflow lock files
  • Merge main branch
  • Fix formatting issues
Original prompt

Update mcpg to ghcr.io/githubnext/gh-aw-mcpg:v0.0.11


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits January 9, 2026 19:21
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
@Mossaka Mossaka added the smoke label Jan 9, 2026
@github-actions

github-actions Bot commented Jan 9, 2026

Copy link
Copy Markdown
Contributor

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

@github-actions

github-actions Bot commented Jan 9, 2026

Copy link
Copy Markdown
Contributor

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

@github-actions

github-actions Bot commented Jan 9, 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 9, 2026

Copy link
Copy Markdown
Contributor

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

@Mossaka Mossaka marked this pull request as ready for review January 9, 2026 19:29
Copilot AI changed the title [WIP] Update mcpg to ghcr.io/githubnext/gh-aw-mcpg:v0.0.11 Update mcpg to ghcr.io/githubnext/gh-aw-mcpg:v0.0.11 Jan 9, 2026
Copilot AI requested a review from Mossaka January 9, 2026 19:30
@Mossaka

Mossaka commented Jan 9, 2026

Copy link
Copy Markdown
Contributor

@copilot it looks like setup mcps step is still using docker run -i --rm --network host -e DEBUG="*" ghcr.io/githubnext/gh-aw-mcpg:latest. Can you make sure the version is pinned? Modify the compiler

Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>

Copilot AI commented Jan 9, 2026

Copy link
Copy Markdown
Contributor Author

@copilot it looks like setup mcps step is still using docker run -i --rm --network host -e DEBUG="*" ghcr.io/githubnext/gh-aw-mcpg:latest. Can you make sure the version is pinned? Modify the compile...

Fixed in f5260f0. Modified ensureDefaultMCPGatewayConfig in pkg/workflow/mcp_servers.go to replace "latest" with the default pinned version (v0.0.11). All lock files now use the pinned version instead of :latest.

@Mossaka

Mossaka commented Jan 9, 2026

Copy link
Copy Markdown
Contributor

@copilot modify the compiler to add -v /var/run/docker.sock:/var/run/docker.sock to mcpg since it needs docker-in-docker

Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>

Copilot AI commented Jan 9, 2026

Copy link
Copy Markdown
Contributor Author

@copilot modify the compiler to add -v /var/run/docker.sock:/var/run/docker.sock to mcpg since it needs docker-in-docker

Added in 3731867. The MCP gateway docker command now includes -v /var/run/docker.sock:/var/run/docker.sock for docker-in-docker support.

@github-actions

github-actions Bot commented Jan 9, 2026

Copy link
Copy Markdown
Contributor

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

@github-actions

github-actions Bot commented Jan 9, 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 9, 2026

Copy link
Copy Markdown
Contributor

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

@github-actions

github-actions Bot commented Jan 9, 2026

Copy link
Copy Markdown
Contributor

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

@Mossaka Mossaka removed the smoke label Jan 9, 2026
@Mossaka

Mossaka commented Jan 9, 2026

Copy link
Copy Markdown
Contributor

@copilot the compiler should generate the necessary ENV VARs for the MCP Gateway. Take a look at the logs below for Setup MCPs step in the smoke test:

Reading MCP configuration from stdin...
-------START MCP CONFIG-----------
{
  "mcpServers": {
    "github": {
      "type": "stdio",
      "container": "ghcr.io/github/github-mcp-server:v0.27.0",
      "tools": ["*"],
      "env": {
        "GITHUB_LOCKDOWN_MODE": "0",
        "GITHUB_PERSONAL_ACCESS_TOKEN": "${GITHUB_MCP_SERVER_TOKEN}",
        "GITHUB_READ_ONLY": "1",
        "GITHUB_TOOLSETS": "context,repos,issues,pull_requests"
      }
    },
    "playwright": {
      "type": "stdio",
      "container": "mcr.microsoft.com/playwright/mcp",
      "args": ["--init", "--network", "host"],
      "entrypointArgs": ["--output-dir", "/tmp/gh-aw/mcp-logs/playwright", "--allowed-hosts", "localhost;localhost:*;127.0.0.1;127.0.0.1:*;github.com", "--allowed-origins", "localhost;localhost:*;127.0.0.1;127.0.0.1:*;github.com"],
      "mounts": ["/tmp/gh-aw/mcp-logs:/tmp/gh-aw/mcp-logs"],
      "tools": ["*"]
    },
    "safeinputs": {
      "type": "http",
      "url": "http://host.docker.internal:${GH_AW_SAFE_INPUTS_PORT}/",
      "headers": {
        "Authorization": "***"
      },
      "tools": ["*"],
      "env": {
        "GH_AW_SAFE_INPUTS_PORT": "${GH_AW_SAFE_INPUTS_PORT}",
        "GH_AW_SAFE_INPUTS_API_KEY": "${GH_AW_SAFE_INPUTS_API_KEY}"
      }
    },
    "safeoutputs": {
      "type": "stdio",
      "container": "node:lts-alpine",
      "entrypoint": "node",
      "entrypointArgs": ["/opt/gh-aw/safeoutputs/mcp-server.cjs"],
      "mounts": ["/opt/gh-aw:/opt/gh-aw:ro", "/tmp/gh-aw:/tmp/gh-aw"],
      "tools": ["*"],
      "env": {
        "GH_AW_MCP_LOG_DIR": "${GH_AW_MCP_LOG_DIR}",
        "GH_AW_SAFE_OUTPUTS": "${GH_AW_SAFE_OUTPUTS}",
        "GH_AW_SAFE_OUTPUTS_CONFIG_PATH": "${GH_AW_SAFE_OUTPUTS_CONFIG_PATH}",
        "GH_AW_SAFE_OUTPUTS_TOOLS_PATH": "${GH_AW_SAFE_OUTPUTS_TOOLS_PATH}",
        "GH_AW_ASSETS_BRANCH": "${GH_AW_ASSETS_BRANCH}",
        "GH_AW_ASSETS_MAX_SIZE_KB": "${GH_AW_ASSETS_MAX_SIZE_KB}",
        "GH_AW_ASSETS_ALLOWED_EXTS": "${GH_AW_ASSETS_ALLOWED_EXTS}",
        "GITHUB_REPOSITORY": "${GITHUB_REPOSITORY}",
        "GITHUB_SERVER_URL": "${GITHUB_SERVER_URL}",
        "GITHUB_SHA": "${GITHUB_SHA}",
        "GITHUB_WORKSPACE": "${GITHUB_WORKSPACE}",
        "DEFAULT_BRANCH": "${DEFAULT_BRANCH}"
      }
    },
    "serena": {
      "type": "stdio",
      "container": "ghcr.io/oraios/serena:latest",
      "args": ["--network", "host"],
      "entrypoint": "serena",
      "entrypointArgs": ["start-mcp-server", "--context", "codex", "--project", "/home/runner/work/gh-aw/gh-aw"],
      "mounts": ["/home/runner/work/gh-aw/gh-aw:/home/runner/work/gh-aw/gh-aw"],
      "tools": ["*"]
    }
  },
  "gateway": {
    "port": "8080",
    "domain": "host.docker.internal",
    "apiKey": "n8lvpqUudMURuxTWocrs7YoZv83KnzpLv9p3SYqnaaqCsqhvS4Pyd2D"
  }
}
-------END MCP CONFIG-----------

Validating gateway configuration...
Configuration validated successfully

Starting gateway with container: docker run -i --rm --network host -v /var/run/docker.sock:/var/run/docker.sock -e DEBUG="*" ghcr.io/githubnext/gh-aw-mcpg:v0.0.11
Gateway started with PID: 3724

Waiting for gateway to be ready...
Attempt 1/30: Gateway not ready yet, waiting 1 second...
Attempt 2/30: Gateway not ready yet, waiting 1 second...
Attempt 3/30: Gateway not ready yet, waiting 1 second...
Attempt 4/30: Gateway not ready yet, waiting 1 second...
Attempt 5/30: Gateway not ready yet, waiting 1 second...
Attempt 6/30: Gateway not ready yet, waiting 1 second...
Attempt 7/30: Gateway not ready yet, waiting 1 second...
Attempt 8/30: Gateway not ready yet, waiting 1 second...
Attempt 9/30: Gateway not ready yet, waiting 1 second...
Attempt 10/30: Gateway not ready yet, waiting 1 second...
Attempt 11/30: Gateway not ready yet, waiting 1 second...
Attempt 12/30: Gateway not ready yet, waiting 1 second...
Attempt 13/30: Gateway not ready yet, waiting 1 second...
Attempt 14/30: Gateway not ready yet, waiting 1 second...
Attempt 15/30: Gateway not ready yet, waiting 1 second...
Attempt 16/30: Gateway not ready yet, waiting 1 second...
Attempt 17/30: Gateway not ready yet, waiting 1 second...
Attempt 18/30: Gateway not ready yet, waiting 1 second...
Attempt 19/30: Gateway not ready yet, waiting 1 second...
Attempt 20/30: Gateway not ready yet, waiting 1 second...
Attempt 21/30: Gateway not ready yet, waiting 1 second...
Attempt 22/30: Gateway not ready yet, waiting 1 second...
Attempt 23/30: Gateway not ready yet, waiting 1 second...
Attempt 24/30: Gateway not ready yet, waiting 1 second...
Attempt 25/30: Gateway not ready yet, waiting 1 second...
Attempt 26/30: Gateway not ready yet, waiting 1 second...
Attempt 27/30: Gateway not ready yet, waiting 1 second...
Attempt 28/30: Gateway not ready yet, waiting 1 second...
Attempt 29/30: Gateway not ready yet, waiting 1 second...
ERROR: Gateway failed to become ready after 30 attempts

Gateway stdout (errors are written here per MCP Gateway Specification):
[INFO] Starting MCP Gateway in containerized mode...
[INFO] Running in containerized environment
[INFO] Container ID: [WARN...
[INFO] Docker daemon is accessible
[ERROR] Required environment variables not set:
[ERROR]   - MCP_GATEWAY_PORT
[ERROR]   - MCP_GATEWAY_DOMAIN
[ERROR]   - MCP_GATEWAY_API_KEY
[ERROR] 
[ERROR] Set these when running the container:
[ERROR]   docker run -e MCP_GATEWAY_PORT=8080 -e MCP_GATEWAY_DOMAIN=localhost -e MCP_GATEWAY_API_KEY=your-key ...

Gateway stderr logs (debug output):
Error: Process completed with exit code 1.

Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>

Copilot AI commented Jan 9, 2026

Copy link
Copy Markdown
Contributor Author

@copilot the compiler should generate the necessary ENV VARs for the MCP Gateway. Take a look at the logs below for Setup MCPs step in the smoke test:

...

Fixed in ba6b485. The docker command now includes -e MCP_GATEWAY_PORT -e MCP_GATEWAY_DOMAIN -e MCP_GATEWAY_API_KEY to pass the required environment variables to the container.

@Mossaka

Mossaka commented Jan 9, 2026

Copy link
Copy Markdown
Contributor

@copilot merge main

Copilot AI commented Jan 9, 2026

Copy link
Copy Markdown
Contributor Author

@copilot merge main

Merged main in ae4dea9. Lock files recompiled after resolving conflicts.

@github-actions

github-actions Bot commented Jan 9, 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 9, 2026

Copy link
Copy Markdown
Contributor

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

@github-actions

github-actions Bot commented Jan 9, 2026

Copy link
Copy Markdown
Contributor

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

@github-actions

github-actions Bot commented Jan 9, 2026

Copy link
Copy Markdown
Contributor

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

@Mossaka

Mossaka commented Jan 9, 2026

Copy link
Copy Markdown
Contributor

@copilot fix the formatting issues


To fix this locally, run:
  make fmt

Or format individual files with:
  go fmt ./path/to/file.go
Error: Process completed with exit code 1.

Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>

Copilot AI commented Jan 9, 2026

Copy link
Copy Markdown
Contributor Author

@copilot fix the formatting issues

...

Fixed in 11ddcb8. Ran go fmt to fix Go formatting issues.

@Mossaka Mossaka merged commit 31970c2 into main Jan 9, 2026
79 checks passed
@Mossaka Mossaka deleted the copilot/update-mcpg-version branch January 9, 2026 21:00
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.

2 participants