Review and approve a proposal¶
A proposal reaches you as a pull request in your GitOps repository, made by the Shadewright GitHub App. Approving it is your ordinary review and merge. Background: the life of a request and design 8.1.
Steps¶
-
Find the request waiting for you. It is in phase
AwaitingApproval, and thePRcolumn shows the pull request number. -
Open the pull request. The branch is
shadewright/<request UID>, the title isfix: set <what> of <namespace>/<name> to <value>, and the body states the change (from and to), the scope (one value in one file), the evidence (request, incident, policy, plan digest), the expected effect, the risk and the rollback (revert the pull request). A revert of a failed request has the titlerevert: set <what> of <namespace>/<name> back to <value>; its body names the failed request, its pull request and the reason it failed, and its rollback says not to revert it, since that applies the failed value again. - Check what a reviewer should check:
- The diff is one scalar in one file, and that file is the one you expect for the workload.
- The new value is what you want, and sensible for the workload, not only inside the policy's bounds. The policy is a ceiling, not a recommendation.
- Your required checks are green.
- Approve and merge it as your repository rules require (a required review,
CODEOWNERS, checks). Shadewright does not approve or merge, and with auto-merge not built (planned) a person always merges, whatever the policy'sapprovalsays. - Within about a minute (the executor's
--pull-request-poll-interval) the request moves toMerged. Delivery is then your GitOps controller's job. The executor follows it: the request waits inWaitingForDeliveryuntil Flux applies the merge commit, then isVerifying, whereDelivered,ConfiguredandRolledOutsay whether the change reached the target and its pods, or why not (see After the merge). All of this runs only with the executor flag--verify-outcomes(chartexecutor.verification.enabled, off by default); off, the request staysMerged. With it on and the verifier deployed, the executor reads the verifier's report and setsCleared, and the request endsSucceeded,FailedorInconclusive; with no verifier it endsInconclusive, so check the symptom yourself.
Do not push to the branch¶
Any other push to the Shadewright branch stops the automation (HeadMoved, phase NeedsIntervention). If the change needs editing, reject it and apply a new request.
Not yet run
The kubectl command is not yet run for this guide. The pull request title, body fields and branch name come from internal/controller/pullrequest.go; the walk-through run in the lab is the OOM acceptance runbook.