Skip to content

chore(workflow): use published v0.2.1 container image for repo-assist#2374

Merged
lpcox merged 1 commit intomainfrom
chore/repo-assist-v0.2.1
Mar 23, 2026
Merged

chore(workflow): use published v0.2.1 container image for repo-assist#2374
lpcox merged 1 commit intomainfrom
chore/repo-assist-v0.2.1

Conversation

@lpcox
Copy link
Copy Markdown
Collaborator

@lpcox lpcox commented Mar 23, 2026

Replace the local container build (rustup + docker build) with the published ghcr.io/github/gh-aw-mcpg:v0.2.1 image in repo-assist.lock.yml.

Changes

  • Proxy: ghcr.io/github/gh-aw-mcpg:local:v0.2.1
  • MCP Gateway: ghcr.io/github/gh-aw-mcpg:local:v0.2.1
  • Removed: Local build step (rustup target add + build.sh + docker build) — saves ~2min per run

v0.2.1 includes

  • GraphQL query rewriting (inject author{login}, authorAssociation, author{user{login}} for guard integrity labeling)
  • Trusted bot bypass for copilot-swe-agent
  • Server token for enrichment REST calls
  • Unified JSONL logging

Replace local container build with published ghcr.io/github/gh-aw-mcpg:v0.2.1
image in both the DIFC proxy and MCP Gateway docker commands. Removes the
debugging-only local build step (rustup + docker build) which added ~2min
to every repo-assist run.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 23, 2026 14:56
@lpcox lpcox merged commit 7cf8ff3 into main Mar 23, 2026
11 checks passed
@lpcox lpcox deleted the chore/repo-assist-v0.2.1 branch March 23, 2026 14:57
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repo-assist locked workflow to stop building a local MCP Gateway/Proxy container and instead run against the published ghcr.io/github/gh-aw-mcpg:v0.2.1 image, aligning this workflow with the standard prebuilt-image model used elsewhere in the repo.

Changes:

  • Removes the (commented) local debug build steps for the MCPG container.
  • Updates the DIFC proxy docker run invocation to use ghcr.io/github/gh-aw-mcpg:v0.2.1.
  • Updates the MCP gateway MCP_GATEWAY_DOCKER_COMMAND to use ghcr.io/github/gh-aw-mcpg:v0.2.1.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 412 to +416
-e GH_TOKEN \
-e DEBUG='*' \
-v "$PROXY_LOG_DIR:$PROXY_LOG_DIR" \
-v "$MCP_LOG_DIR:$MCP_LOG_DIR" \
ghcr.io/github/gh-aw-mcpg:local proxy \
ghcr.io/github/gh-aw-mcpg:v0.2.1 proxy \
Copy link

Copilot AI Mar 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Switching from a locally built image to ghcr.io/github/gh-aw-mcpg:v0.2.1 means this docker run may now need to pull from GHCR at runtime. In this workflow, the existing “Download container images” pre-pull step happens later, so the proxy startup can become slower/flaky (and may fail if GHCR auth is only handled in that pre-pull script). Consider adding ghcr.io/github/gh-aw-mcpg:v0.2.1 to the pre-pull list and moving that pre-pull step before starting the DIFC proxy (or explicitly docker pull the image here) so the proxy start is deterministic.

Copilot uses AI. Check for mistakes.
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