Repository navigation
Fix gh-aw triage: gateway crash hotfix + fill owner-map assignment gap - #639
Merged
Huzaifa Danish (huzaifa-d) merged 2 commits intoJul 13, 2026
Merged
Conversation
The guard policy rendered allowed-repos as a bare string (repos: microsoft/mxc), which MCP Gateway rejects at startup: allow-only.repos string must be all or public. A specific repo must be an array. Using YAML list form makes the lock emit repos as a JSON array, which the gateway accepts. This was a production outage: every triage run since the bare-string form merged failed at the agent job because the gateway would not start. gh aw compile is static and did not catch it; verified the fix with gh aw trial (gateway started clean, agent read the issue and produced valid safe-outputs). Co-authored-by: Copilot App <[email protected]>
Contributor
There was a problem hiding this comment.
Pull request overview
Hotfix to restore the GitHub Actions gh-aw issue triage workflow by ensuring the GitHub MCP server guard policy emits allow-only.repos as a JSON array (not a scalar string), which MCP Gateway v0.3.30 requires.
Changes:
- Update
tools.github.allowed-reposin the workflow source to a YAML list (["${{ github.repository }}"]). - Regenerate the compiled lock workflow so the embedded MCP gateway config now renders
"repos": [ ... ]instead of"repos": "...".
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/issue-triage.md | Changes allowed-repos from scalar to list so the guard policy compiles to an array. |
| .github/workflows/issue-triage.lock.yml | Regenerated output; MCP gateway JSON config now emits repos as an array. |
Review details
- Files reviewed: 2/2 changed files
- Comments generated: 0
- Review effort level: Low
Fills the assignment gap where SDK/schema/build/test area labels had no owner in the agentic triage prompt. Adds theelliotm to the assign-to-user allow-list and four rows to the owner map: - mgudgin: SDK configuration / policy - huzaifa-d: SDK API / executor schema / TypeScript build - bbonaby: Rust build - theelliotm: SDK / executor test infrastructure Verified with gh aw trial against #613: agent assigned bbonaby + huzaifa-d (cap 2) and removed Needs-Triage. Co-authored-by: Copilot App <[email protected]>
1 of 3 tasks
Gudge (MGudgin)
approved these changes
Jul 13, 2026
Huzaifa Danish (huzaifa-d)
deleted the
user/modanish/triage-gateway-hotfix
branch
July 13, 2026 21:17
2 of 3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
.github/copilot-instructions.md.Summary
Two changes to the gh-aw issue-triage workflow. This supersedes #597 (the github/issue-labeler approach), which is being discarded; all triage changes are consolidated here.
1. Gateway crash hotfix (production down)
tools.github.allowed-reposwas authored as a scalar, so the compiled guard policy rendered"repos"as a bare string. MCP Gateway v0.3.30 rejects that at startup:A specific repository must be a JSON array, so every triage run since the scalar form merged failed at the
agentjob and all triage has been down. Fix: author it as a YAML list so the lock emits"repos": ["${{ github.repository }}"].2. Fill the owner-map assignment gap
SDK/schema/build/test area labels had no owner, so those issues were labeled but never assigned. Adds
theelliotmto theassign-to-userallow-list and four rows to the owner map:@mgudgin@huzaifa-d@bbonaby@theelliotmVerification
gh aw compileis static and does not start the gateway, so it missed the crash. Both changes were validated withgh aw trial: the gateway started cleanly and the agent produced valid safe-outputs (labels, assignees, remove Needs-Triage, comment). The trial against #613 assignedbbonaby+huzaifa-dfrom the new owner rows.Only
issue-triage.md(source) and the generatedissue-triage.lock.ymlchange.