Repository navigation
Pass the protected reviewer key through the caller secret contract - #3531
Merged
Merged
Conversation
Contributor
jonathanKingston
marked this pull request as ready for review
October 4, 2026 20:07
jonathanKingston
enabled auto-merge (squash)
October 4, 2026 20:07
jonathanKingston
temporarily deployed
to
github-pages
October 4, 2026 20:19 — with
GitHub Actions
Inactive
jonathanKingston
had a problem deploying
to
copse-review-models
October 4, 2026 20:33 — with
GitHub Actions
Failure
This branch had an error being deployed
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.
Outcome
The Actions migration omitted
COPSE_REVIEW_OPENROUTER_API_KEYfrom the Copse caller's named secret mapping. The reusable model job references the key undercopse-review-models, but receives an empty value and stops before a model call. Add the missing name to the caller contract as an empty placeholder. The protected job continues to resolve the value from its existing environment. Check that every secret referenced by the protected model job is explicitly included by the caller and that the dedicated key's caller value stays empty.Historical comparison: the old full-review run received the environment key and published on PR #3504; the new reusable run failed with an empty key on the same head. actions/runner#4453 reports matching environment-secret behavior at the reusable-workflow boundary.
Risk and review
Medium: this changes a credential contract. The patch adds one explicitly named key already declared by the reusable workflow and referenced only by its protected model job. The key remains in the existing environment; grounding still has no secret references.
Validation
pnpm run check: static gates passed; units finished with 13,059 passed, 18 failed, 9 cancelled and 22 skipped. Remaining failures are in local runtime/sandbox/home/process fixtures (including missing socat and read-only home paths); this is not a green full local gate. All reviewer/workflow contract tests passed.8276594ec4773485fde1d636196eeb2dfe906db2.Remaining work
GitHub environment-secret resolution and new review publication must be verified after this caller change is merged onto the trusted default branch. Local contract checks cannot establish delivery of an encrypted GitHub secret. Full local units retain the workspace limitations listed above; required PR CI has passed. This draft does not claim end-to-end completion.
Note
High risk
This changes the GitHub Actions secret-passing contract for the protected reviewer model job, a secrets-handling surface, though the caller supplies an empty value for this key.
Overview
Summary by Copse Reviewer for commit 8276594. copse-review 0.1.0