Repository navigation
fix(deploy): separate app releases from optional evaluator - #7409
Conversation
There was a problem hiding this comment.
Ladon verdict: Escalate to human review
Escalate — gated paths require human/CODEOWNERS approval.
This PR modifies two files under the .github/workflows/** hard approval gate:
.github/workflows/deploy.yml.github/workflows/provision-matched-v4-evaluator.yml
gated_paths: true and review_decision is REVIEW_REQUIRED (not APPROVED), so decision-table row 2 fires: the gate is not satisfied by a real human/CODEOWNERS approval and the outcome must be escalate.
The reviewer found no Critical/High/Medium findings — the change itself (separating ordinary app releases from the optional matched-v4 evaluator path via ADDIE_MATCHED_V4_EVALUATOR_DEPLOY_ENABLED, fail-closed on unknown values, evaluator migrations 584/585 skipped on ordinary releases, unchanged trust root, no changeset needed for deploy/operational + runbook docs, tests exercising the actual checked-in if conditions) looks clean and well-tested. Once a human/CODEOWNERS approval lands (review_decision: APPROVED), this same diff would fall through to approve.
Escalation reasons
- Modifies
.github/workflows/deploy.ymland.github/workflows/provision-matched-v4-evaluator.yml, which match the.github/workflows/**gated path. Human/CODEOWNERS review is required (review_decision is REVIEW_REQUIRED, not APPROVED).
Why human review
- Modifies .github/workflows/deploy.yml (gated path .github/workflows/**) — human/CODEOWNERS approval required; review_decision is REVIEW_REQUIRED, not APPROVED
- Modifies .github/workflows/provision-matched-v4-evaluator.yml (gated path .github/workflows/**) — human/CODEOWNERS approval required
- This PR touches a path under a hard, non-overridable approval gate (.github/workflows/deploy.yml (modified) matches
.github/workflows/**; .github/workflows/provision-matched-v4-evaluator.yml (modified) matches.github/workflows/**) and the current GitHub review decision is 'REVIEW_REQUIRED', not APPROVED. This is a hard gate enforced in code — Ladon cannot auto-approve until a human/CODEOWNERS approval is recorded, regardless of how clean the diff is.
Ordinary production releases currently wait for optional matched-v4 evaluator provisioning. Missing operator settings therefore block every app deploy, including the merged Gemini 3.7 staff pilot (#7408).
This makes ordinary releases follow a successful main Build Check with evaluator schema migration disabled and any prior paid-admission SHA explicitly overwritten with
disabled. Set the repository variableADDIE_MATCHED_V4_EVALUATOR_DEPLOY_ENABLED=trueto select the protected evaluator release path. That path still requires successful provisioning and its immediate pre-deploy recheck; a provisioning failure cannot fall back to an ordinary release. The operator job acquires its protected environment only when opted in.Both paths retain trusted-source and current-main checks, ordinary migrations, rolling deployment, health checks, and machine convergence. Documentation explains the two release modes. No application runtime or evaluator authorization logic changes.
Validation: 20 workflow tests pass covering event provenance, failed/skipped builds, mode selection, incomplete provisioning, and exact staged Fly settings using a stub CLI. Two existing authority/coordinator checks pass, including refusal to construct paid authority with the new
disabledSHA. No live model calls or production setting changes were made for this follow-up.Release evidence: #7408 merged as
72e5ef386721bec289dc788e796ebcde25ee1da4and passed its main Build Check. The subsequent protected provision run failed with all eight required operator inputs empty, and Deploy was skipped. Production remains healthy on the previous release; the Gemini pilot is not live.