Repository navigation
Use GitHub Decisions and grouped diffs for CI suite selection - #78262
Conversation
Authenticate with the workflow token, summarize JavaScript, Go, and other changes independently, and exclude generated workflow locks while preserving fail-open selection. Co-authored-by: Copilot App <[email protected]>
|
🧠 Matt Pocock Skills Reviewer is reviewing this pull request using Matt Pocock's engineering skills... |
|
✅ PR Code Quality Reviewer completed the code quality review. PR Code Quality ReviewerOutcome: The agent completed and reported one or more actions. The no-op output is a completion signal, not a claim that no action was taken. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ Test Quality Sentinel completed test quality analysis. Test Quality SentinelOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
🚀 PR Specification Reviewer has started processing this pull request |
|
✅ Design Decision Gate 🏗️ completed the design decision gate check. See the comment below for the result and any generated ADR draft. Design Decision Gate 🏗️Outcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ Ponytail Reviewer completed successfully! Ponytail ReviewerOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
Comment MemoryPeek at saved memory (spec-review-history)History |
There was a problem hiding this comment.
Found one blocking security issue: the new write-scoped token is exposed to PR-controlled selector code in the checkout job. The inline comment explains the attack path and required isolation. Static review only; repository tests were not run per review instructions.
🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~6 AIC · ⌖ ~2 AIC · ⊞ 1.5K
Comment /review to run again
Comment MemoryPeek at saved memory (review-history)History |
There was a problem hiding this comment.
🟡 Changes recommended
Shared-client changes can bypass selector conformance tests, while quoted job headers can cause the purity check to incorrectly allow copilot-requests: write in other jobs.
2 open issues
What changed in this PR
Moves CI Front Door to GitHub Decisions so CGO can omit unaffected optional suites while preserving mandatory checks and all-suite fallback.
Changes:
- Uses one authenticated, bounded request with five safe-to-omit predicates.
- Excludes generated workflow locks and gives JavaScript, Go, and other patches independent budgets.
- Narrows inference permissions and updates tests, contributor guidance, and offline researcher instructions.
| File | Description |
|---|---|
scripts/ci-front-door.test.cjs |
Covers Decisions authentication, response validation, grouped diffs, and fallback. |
scripts/ci-front-door.cjs |
Integrates the shared Decisions client and workflow token. |
scripts/ci-front-door-researcher.test.cjs |
Checks updated authentication, offline, and summary contracts. |
scripts/ci-front-door-evaluate.cjs |
Adapts recorded-response evaluation to the token option. |
scripts/ci-front-door-diff.cjs |
Excludes locks and produces bounded, grouped patch summaries. |
scripts/check-cgo-cjs-workflow-purity.sh |
Allows inference writes only for CGO’s checkout selector. |
scripts/check-cgo-cjs-workflow-purity_test.sh |
Tests selector-only and workflow-wide permission rules. |
CONTRIBUTING.md |
Documents authentication, grouped summaries, and fallback behavior. |
.github/workflows/ci-front-door-researcher.md |
Updates offline research guidance and evaluation gates. |
.github/workflows/ci-front-door-researcher.lock.yml |
Refreshes generated body and admission hashes. |
.github/workflows/cgo.yml |
Supplies the workflow token and job-scoped inference permission. |
.github/ci/decision-prompt.txt |
Defines conservative predicate handling for grouped evidence. |
Review effort: Max (dynamic)
| job_match = re.match(r"^ ([A-Za-z0-9_-]+):\s*$", without_comment) | ||
| if job_match: | ||
| job_name = job_match.group(1) |
| const path = require("node:path"); | ||
| const https = require("node:https"); | ||
| const { summarizeDiff } = require("./ci-front-door-diff.cjs"); | ||
| const { invokeDecisions } = require("../actions/setup/js/decisions_client.cjs"); |
Run credential-bearing selection from the trusted PR base in a dedicated least-privilege job, consume PR checkouts only as Git evidence, and intersect model omissions with a conservative deterministic path policy. Co-authored-by: Copilot App <[email protected]>
|
Regarding #78262 (comment): This announces the Matt Pocock review starting and requests no code change; it is not evidence of approval. |
|
Regarding #78262 (comment): No change is needed for this review progress notice. The subsequent token-isolation finding is addressed separately in this batch. |
|
Regarding #78262 (comment): The Test Quality Sentinel identifies no specific test change, so no code change is needed for this status. Its no-action result is not treated as proof of test completeness or successful validation. |
|
Regarding #78262 (comment): This specification-review startup notice contains no actionable feedback, so no code change is needed. It does not establish specification compliance. |
|
Regarding #78262 (comment): The Design Decision Gate supplies no ADR requirement or requested change here. Its no-action status is not treated as proof that architectural review or publication was completed. |
|
Regarding #78262 (comment): The Ponytail Reviewer requests no fix, so no code change is needed for this status. Successful workflow completion is not treated as PR approval or completed code validation. |
|
Regarding #78262 (comment): This ledger records an incomplete specification review despite a finding count of zero. It supplies no actionable code request and is not treated as specification approval. |
| model: DECISIONS_MODEL, | ||
| input: [ | ||
| { role: "developer", content: input.prompt }, | ||
| { role: "user", content: JSON.stringify({ diff_summary: input.diff_summary, suite_catalog: input.suite_catalog }) }, |
|
🎉 This pull request is included in a new release. Release: |

Why
The CI front door kept all eight suites in every observed PR run because its custom decision endpoint was unset. Large patches, especially generated workflow locks, also forced full-suite fallback before selection could help.
Changes
gpt-6-luna-decisionsand the built-in workflow token. Scopecopilot-requests: writeto CGO's checkout selector; keep other jobs and CJS restricted..lock.ymlfiles before reading patches. Retain filenames in separate JavaScript (.js/.cjs), Go (.go), and other groups, each with an independent 8,000-byte patch budget. Partial snippets are explicitly marked; incomplete inventories still fail open.Validation
make fmtnode --test scripts/ci-front-door.test.cjs scripts/ci-front-door-researcher.test.cjsbash scripts/check-cgo-cjs-workflow-purity_test.shbash scripts/check-cgo-cjs-workflow-purity.shnpx --no-install vitest run decisions_client.test.cjsfromactions/setup/jspython3 scripts/check-instruction-prefixes.py .github/workflows/ci-front-door-researcher.mdmake recompilemake agent-report-progressAlso checked grouped summaries against a real large firewall update commit. No live inference request or workflow dispatch was performed.