Skip to content

fix: recognize copilot-pull-request-reviewer in ci-gate#5068

Merged
lpcox merged 2 commits into
mainfrom
fix/ci-gate-reviewer-login
Jun 15, 2026
Merged

fix: recognize copilot-pull-request-reviewer in ci-gate#5068
lpcox merged 2 commits into
mainfrom
fix/ci-gate-reviewer-login

Conversation

@lpcox

@lpcox lpcox commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

The Copilot review bot uses login copilot-pull-request-reviewer, which was missing from the ci-gate's reviewer set. This caused the gate to never recognize Copilot's review and never add the ready-for-ci label.

One-line fix: add 'copilot-pull-request-reviewer' to the Set.

The Copilot review bot uses the login 'copilot-pull-request-reviewer',
which was not in the reviewer set. This caused the ci-gate to fail to
add the ready-for-ci label after Copilot review.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 15, 2026 22:37

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 CI gate workflow to correctly recognize reviews from the Copilot review bot account so the ready-for-ci label can be applied when appropriate.

Changes:

  • Add copilot-pull-request-reviewer to the copilotReviewers allowlist in the ci-gate workflow.
Show a summary per file
File Description
.github/workflows/ci-gate.yml Expands the recognized Copilot reviewer login set used to decide when to apply ready-for-ci.

Copilot's findings

Tip

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

  • Files reviewed: 1/1 changed files
  • Comments generated: 1

with:
script: |
const copilotReviewers = new Set(['copilot', 'copilot[bot]', 'Copilot']);
const copilotReviewers = new Set(['copilot', 'copilot[bot]', 'Copilot', 'copilot-pull-request-reviewer']);
@lpcox

lpcox commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator Author

@copilot address review feedback

Copilot AI commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

@copilot address review feedback

Addressed in commit 6aa0db4 by updating scripts/ci/ready-for-ci-workflows.test.ts to match the expanded copilotReviewers set, and verified with npm test -- scripts/ci/ready-for-ci-workflows.test.ts.

Copilot finished work on behalf of lpcox June 15, 2026 22:42
@github-actions

Copy link
Copy Markdown
Contributor

✅ Coverage Check Passed

Overall Coverage

Metric Base PR Delta
Lines 96.89% 96.93% 📈 +0.04%
Statements 96.75% 96.79% 📈 +0.04%
Functions 98.81% 98.81% ➡️ +0.00%
Branches 91.26% 91.29% 📈 +0.03%
📁 Per-file Coverage Changes (1 files)
File Lines (Before → After) Statements (Before → After)
src/workdir-setup.ts 92.6% → 94.4% (+1.85%) 92.6% → 94.4% (+1.85%)

Coverage comparison generated by scripts/ci/compare-coverage.ts

@github-actions

github-actions Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

🔑 Smoke Copilot PAT PAT auth validated. All systems operational. ✅

@github-actions

github-actions Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

📡 Smoke OTel Tracing completed. All tracing scenarios validated. ✅

@github-actions

github-actions Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Smoke Copilot BYOK AOAI (Entra) completed. Copilot AOAI BYOK (Entra) mode operational. 🔓

@github-actions

github-actions Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

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

@github-actions

github-actions Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Smoke Copilot BYOK completed. Copilot BYOK mode operational. 🔓

@github-actions

github-actions Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

🔌 Smoke Services — All services reachable! ✅

@github-actions

github-actions Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Build Test Suite completed successfully!

@github-actions

github-actions Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤

@github-actions

github-actions Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Contribution Check failed. Please review the logs for details.

@github-actions

github-actions Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Smoke Claude failed

@github-actions

Copy link
Copy Markdown
Contributor

🚀 Security Guard has started processing this pull request

@github-actions

github-actions Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Chroot tests passed! Smoke Chroot - All security and functionality tests succeeded.

@github-actions

github-actions Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Smoke Copilot BYOK AOAI (api-key) completed. Copilot AOAI BYOK (api-key) mode operational. 🔓

@github-actions

github-actions Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Smoke Gemini completed. All facets verified. 💎

Smoke test completed with partial failures. Results reported to PR #5068.

@github-actions

Copy link
Copy Markdown
Contributor

🔥 Smoke Test Results — Auth mode: PAT (COPILOT_GITHUB_TOKEN)

Test Result
GitHub MCP connectivity
github.com HTTP (200)
File write/read

Overall: PASS

/cc @lpcox

🔑 PAT report filed by Smoke Copilot PAT

@github-actions

Copy link
Copy Markdown
Contributor

🔥 Smoke Test Results — PASS

Test Status
GitHub MCP connectivity
github.com HTTP ✅ 200
File write/read

PR: fix: recognize copilot-pull-request-reviewer in ci-gate
Author: @lpcox

Overall: PASS

📰 BREAKING: Report filed by Smoke Copilot

@github-actions

Copy link
Copy Markdown
Contributor

Copilot BYOK Smoke Test: PASS

  • ✅ MCP GitHub connectivity (PR listing works)
  • ✅ GitHub.com accessibility (HTTP 200)
  • ✅ File I/O (smoke test data readable)
  • ✅ BYOK inference active (direct COPILOT_PROVIDER_API_KEY mode)

Running via api-proxy sidecar → api.githubcopilot.com (real credentials held by sidecar, agent sees placeholder only).

@lpcox

🔑 BYOK report filed by Smoke Copilot BYOK

@github-actions

Copy link
Copy Markdown
Contributor

@lpcox

  • MCP PR fetch: ✅
  • GitHub.com connectivity: ✅
  • File write/read: ✅
  • BYOK inference: ✅
    Running in direct BYOK mode (AWF_AUTH_TYPE=github-oidc + AWF_AUTH_AZURE_* + COPILOT_PROVIDER_BASE_URL) via api-proxy → Azure OpenAI (Foundry, o4-mini-aw) authenticated via Microsoft Entra
    Overall: PASS

🪪 BYOK (AOAI Entra) report filed by Smoke Copilot BYOK AOAI (Entra)

@github-actions

Copy link
Copy Markdown
Contributor

📡 OTel Tracing Smoke Test Results

Scenario Result Detail
1: Module Loading otel.js loads; exports startRequestSpan, setTokenAttributes, setBudgetAttributes, endSpan, endSpanError, shutdown, isEnabled; isEnabled: true (file fallback active)
2: Test Suite 59/59 tests passed across 2 suites (otel.test.js, otel-fanout.test.js)
3: Env Var Forwarding ⚠️ Check looks in api-proxy-service.ts but forwarding is implemented in api-proxy-service-config.tsGH_AW_OTLP_ENDPOINTS, OTEL_EXPORTER_OTLP_ENDPOINT, GITHUB_AW_OTEL_TRACE_ID, GITHUB_AW_OTEL_PARENT_SPAN_ID are all forwarded
4: Token Tracker Integration onUsage callback confirmed in token-tracker-http.js (lines 176, 251, 320)
5: OTEL Diagnostics ⚠️ No spans exported — expected, smoke test makes no real LLM API calls through api-proxy

All scenarios pass or are expected-pending. No regressions detected.

📡 OTel tracing validated by Smoke OTel Tracing

@github-actions

Copy link
Copy Markdown
Contributor

Chroot Version Comparison Results

Runtime Host Version Chroot Version Match?
Python Python 3.12.13 Python 3.12.3 ❌ NO
Node.js v24.16.0 v22.22.3 ❌ NO
Go go1.22.12 go1.22.12 ✅ YES

Overall: ❌ FAILED — Python and Node.js versions differ between host and chroot environment.

Tested by Smoke Chroot

@github-actions

Copy link
Copy Markdown
Contributor

@lpcox

fix: recognize copilot-pull-request-reviewer in ci-gate: ✅
GitHub.com connectivity: ✅
File write/read: ✅
BYOK inference: ✅

Running in direct BYOK mode (COPILOT_PROVIDER_API_KEY + COPILOT_PROVIDER_BASE_URL) via api-proxy → Azure OpenAI (Foundry, o4-mini-aw)
Overall: PASS

🔑 BYOK (AOAI api-key) report filed by Smoke Copilot BYOK AOAI (api-key)

@manamansor manamansor left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Open

@github-actions

Copy link
Copy Markdown
Contributor

Smoke Test: GitHub Actions Services Connectivity

Check Result
Redis PING (host.docker.internal:6379) ❌ no response (timeout)
PostgreSQL pg_isready (:5432) ❌ no response
PostgreSQL SELECT 1 ❌ no response (timeout)

Overall: FAILhost.docker.internal service containers are unreachable from this runner.

🔌 Service connectivity validated by Smoke Services

@github-actions

Copy link
Copy Markdown
Contributor

🏗️ Build Test Suite Results

Ecosystem Project Build/Install Tests Status
Bun elysia 1/1 passed ✅ PASS
Bun hono 1/1 passed ✅ PASS
C++ fmt N/A ✅ PASS
C++ json N/A ✅ PASS
Deno oak N/A 1/1 passed ✅ PASS
Deno std N/A 1/1 passed ✅ PASS
.NET hello-world N/A ✅ PASS
.NET json-parse N/A ✅ PASS
Go color ok ✅ PASS
Go env ok ✅ PASS
Go uuid ok ✅ PASS
Java gson 1/1 passed ✅ PASS
Java caffeine 1/1 passed ✅ PASS
Node.js clsx passed ✅ PASS
Node.js execa passed ✅ PASS
Node.js p-limit passed ✅ PASS
Rust fd 1/1 passed ✅ PASS
Rust zoxide 1/1 passed ✅ PASS

Overall: 8/8 ecosystems passed — ✅ PASS

Generated by Build Test Suite for issue #5068 ·

@lpcox lpcox merged commit e2b66b4 into main Jun 15, 2026
83 of 86 checks passed
@lpcox lpcox deleted the fix/ci-gate-reviewer-login branch June 15, 2026 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants