Repository navigation
Let frontdoor filter all CGO check jobs on pull requests - #79063
Conversation
Retain one deterministic lock sample, recover capped inventories from immutable commit pages, and verify PR selection reaches optional job gates. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
🧠 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.
|
|
✅ 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.
|
|
✅ PR Specification Reviewer completed successfully!
|
|
✅ 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.
|
There was a problem hiding this comment.
Review
No actionable correctness or maintainability issues found in the changed lines. The review was static; tests and builds were not run.
The delegated first-pass reviewer was unavailable because its file-read tool invocation was denied, so this assessment is based on the independent diff review.
🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~3 AIC · ⌖ ~2 AIC · ⊞ 1.5K
Comment /review to run again
There was a problem hiding this comment.
Review outcome
Reviewed head a63de9f13762782bc4e491fac4703e339f863036 (open, non-draft).
Finding
The updated GitHub diff path still calls the compare endpoint with per_page=1 and only enters the 300-file commit-pagination recovery when the returned array has at least 300 entries. GitHub therefore returns only one file for ordinary multi-file comparisons, allowing incomplete evidence to reach omission inference and potentially skip affected suites. This violates the CI Front Door contract requiring complete filename inventories and fail-open behavior for incomplete evidence. An inline comment is attached at scripts/ci-front-door-diff.cjs:105.
No specification-only synchronization is proposed; the required fix is implementation/conformance correction. The directly applicable contract is the CI Front Door researcher/selector contract in .github/workflows/ci-front-door-researcher.md and its contributor documentation; no separate formal spec document covers this surface.
Please request a bounded complete comparison inventory or explicitly detect pagination/truncation before using the recovery path.
Generated by PR Specification Reviewer for #79063 · copilot · gpt50 · ~3 AIC · ⌖ ~2 AIC · ⊞ 1.7K
Comment /review-specs to run again
Comment MemoryPeek at saved memory (review-history)History |
Comment MemoryPeek at saved memory (spec-review-history)History |
Remove path-based omission restrictions and mandatory check groups. Select each CGO check job independently, retain selected prerequisites, and preserve trusted-base execution and fail-open behavior. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🟡 Changes recommended
The conformance test uses an uncontrolled checkout diff that causes failures on this PR, while lockfile patches can exhaust the sampling budget and hide documentation hunks needed to establish safety.
1 open issue
What changed in this PR
Reduces CGO CI selector overhead while preserving trusted-base execution and running all suites when evidence cannot safely support omissions.
Changes:
- Bypass inference when trusted policy requires every suite.
- Retain one generated lock sample and recover capped comparisons through SHA-validated commit pagination.
- Extend conformance tests and update selection guidance and the researcher contract.
Validation used focused offline checks; full tests and workflow compilation were not run during this review.
| File | Description |
|---|---|
scripts/ci-front-door.test.cjs |
Covers inference bypass, lock sampling, pagination, and failure handling. |
scripts/ci-front-door.cjs |
Skips unnecessary inference and classifies normal all-suite outcomes. |
scripts/ci-front-door-workflow.test.cjs |
Checks selector results against job gates and platform matrices. |
scripts/ci-front-door-researcher.test.cjs |
Updates researcher-contract assertions. |
scripts/ci-front-door-diff.cjs |
Adds lock sampling and bounded, validated commit pagination. |
CONTRIBUTING.md |
Documents API evidence, inference bypass, and resource limits. |
.github/workflows/ci-front-door-researcher.md |
Revises request-budget and generated-lock guidance. |
.github/workflows/ci-front-door-researcher.lock.yml |
Refreshes generated body and admission hashes. |
.github/ci/decision-prompt.txt |
Clarifies lock-sample handling and omission eligibility. |
Review effort: Max (adaptive)
Document that per_page limits commits, while the first comparison page carries up to 300 changed files for the entire comparison. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
In response to #79063 (comment): No code change is needed because this announces review activity rather than requesting a change. It is not treated as a validation result. |
|
In response to #79063 (comment): The underlying static review found no actionable correctness or maintainability issues and did not run tests or builds. No code change is needed based on the reported_action status alone. |
|
In response to #79063 (comment): No code change is needed because this completion notification contains no actionable request. The no-action outcome is not treated as independent validation of the changes. |
|
In response to #79063 (comment): This completion notification needs no separate code change; its associated pagination finding was evaluated against GitHub's documented API semantics. The requested functional change was declined, and 21214c2 documents why first-page file coverage is independent of the commit page size. |
|
In response to #79063 (comment): No code change is requested by this test-analysis completion notification. Its no-action outcome is not treated as a passing test result or proof that all required work completed. |
|
In response to #79063 (comment): No code change is needed because this ledger records the historical review outcome for a63de9f, not validation of the current head. The historical ledger remains unchanged. |
|
In response to #79063 (comment): This historical ledger remains unchanged and needs no separate code change. The associated pagination finding was declined after checking GitHub's documented semantics, with an explanatory source comment published in 21214c2. |
Process lock-only API entries after source evidence so a large sample cannot consume documentation patch budgets. Cover both API response orders and renames across the generated-lock boundary. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
In response to #79063 (comment): The previous no-change disposition stands because this is a review-activity notification, not an actionable request or validation result. |
|
In response to #79063 (comment): No code change follows from reported_action alone. The underlying review found no actionable issues through static inspection and did not run tests or builds. |
|
In response to #79063 (comment): No actionable request is included, so no change is needed. The no-action status is not independent evidence of completion or publication. |
|
In response to #79063 (comment): This completion notification needs no separate change. Its associated pagination finding was already answered using the documented distinction between commit pagination and first-page file coverage. |
|
In response to #79063 (comment): No code change is requested. The no-action status does not establish passing tests or completion of all required work. |
|
In response to #79063 (comment): This ledger remains unchanged as a historical result for a63de9f. It does not validate the current head and requires no separate code change. |
|
In response to #79063 (comment): The historical finding count and regression outcome remain unchanged. The ledger itself requires no separate code change or retrospective rewrite. |
|
In response to #79063 (comment): Agreed; the prior disposition stands because the source comment announces activity rather than requesting a change. No further code change is needed. |
|
In response to #79063 (comment): The prior disposition stands: the underlying review was static, reported no actionable issues, and did not run tests or builds. This acknowledgment requires no code change. |
|
In response to #79063 (comment): Agreed; the prior no-change disposition stands. A no-action status is not independent validation. |
|
In response to #79063 (comment): The documented pagination disposition and explanatory commit 21214c2 remain applicable. This acknowledgment introduces no new code change or validation claim. |
|
In response to #79063 (comment): Agreed; no code change was requested by the source notification. Its no-action status does not establish passing tests or completed work. |
|
In response to #79063 (comment): Agreed; the historical ledger remains unchanged and is not current-head validation. No further code change is needed. |
|
In response to #79063 (comment): The historical ledger and previously recorded pagination disposition remain unchanged. This acknowledgment requires no code change and adds no validation claim. |
| security: | ||
| needs: [checkout-cache, build] | ||
| needs: [checkout-cache, build, front-door-decision] | ||
| if: always() && !cancelled() && needs.checkout-cache.result == 'success' && needs.build.result == 'success' && (github.event_name != 'pull_request' || needs.front-door-decision.result != 'success' || !needs.front-door-decision.outputs.suite_ids || contains(fromJSON(needs.front-door-decision.outputs.suite_ids), 'security')) |

Why
All 138 observed CGO frontdoor decisions in the investigated 24-hour window selected every suite. The old deterministic path allowlist and mandatory suite groups prevented useful PR filtering; generated locks also exhausted the compare API's 300-file inventory before filtering.
Changes
.lock.ymlin sorted order as a representative generated sample; exclude other generated locks from retained inventories and patch budgets.Trust and rollout
PR runs continue executing the selector from the trusted base SHA, never PR-controlled selector code with inference credentials. The new selector becomes active once it is in the PR base. This PR changes selector policy and intentionally runs all checks. Older trusted selector output is rejected by the expanded output validator and fails open during rollout.
Omissions still require probability at least 0.9. Invalid, missing, refused or uncertain model answers run all checks. Every check is eligible, but selected prerequisites cannot be omitted. This broadens filtering authority intentionally; no live-model safety or runner-savings claim is made.
Validation
make agent-report-progresspassed. No Go files changed, so impacted Go tests were skipped.make recompilecompiled all 366 workflows successfully; lock files are synchronized.