fix(operator): record the automatic pre-submission approval too #2057

Merged
pipeline-bot merged 1 commit from fix/automatic-canary-decision into trunk 2026-08-15 22:45:18 +00:00
Owner

The -git2 master roll died at verify-deploy-intent: it requires an approved gate=approval decision and automatic Environments never recorded one. syncDeploymentDecisions now records the submission act as an Environment-attributed automatic approval decision, uniform across adapters; a human denial still stays terminal. Red-green envtest.

The -git2 master roll died at verify-deploy-intent: it requires an approved gate=approval decision and automatic Environments never recorded one. syncDeploymentDecisions now records the submission act as an Environment-attributed automatic approval decision, uniform across adapters; a human denial still stays terminal. Red-green envtest.
fix(operator): record the automatic pre-submission approval too
All checks were successful
pipeline/ci CI green @ 3f8a365ed9b3
3f8a365ed9
The -git2 master roll got past validate-request and died one step
later: verify-deploy-intent requires an approved decision on gate
'approval', and an automatic Environment never recorded one — its
approval act was the submission itself, invisible to the template and
to audit alike.

syncDeploymentDecisions now records that act: when the Environment
declares automatic and no approval-gate decision exists, it appends
an approved automatic decision attributed to the Environment (same
attribution shape as the canary decision). It never writes over an
existing approval-gate decision, so a human denial stays terminal
even in automatic mode. This is uniform across adapters — every
automatic Deployment now carries a recorded, attributed
pre-submission approval, which is what the audit trail should have
shown all along.

Red-green in envtest; the argocd/flux/noop specs now assert both
decisions.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
sean/pipelines!2057
No description provided.