Skip to content

fix(deploy): separate app releases from optional evaluator - #7409

Merged
bokelley merged 1 commit into
mainfrom
gemini-direct-deploy
Sep 10, 2026
Merged

bokelley merged 1 commit into
mainfrom
gemini-direct-deploy

Conversation

@bokelley

@bokelley bokelley commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

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 variable ADDIE_MATCHED_V4_EVALUATOR_DEPLOY_ENABLED=true to 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 disabled SHA. No live model calls or production setting changes were made for this follow-up.

Release evidence: #7408 merged as 72e5ef386721bec289dc788e796ebcde25ee1da4 and 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.

@bokelley
bokelley marked this pull request as ready for review September 10, 2026 15:07
@aao-secretariat aao-secretariat Bot added the ladon/needs-human-review Ladon has escalated this PR for human review. label Sep 10, 2026

@aao-secretariat aao-secretariat Bot 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.

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.yml and .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.

@bokelley
bokelley merged commit 41df6aa into main Sep 10, 2026
41 checks passed
@bokelley
bokelley deleted the gemini-direct-deploy branch September 10, 2026 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ladon/needs-human-review Ladon has escalated this PR for human review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant