Approval gates #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implement human approval as a built-in module step. A step uses
moira.gate; the agent registers the gate on the server and polls for resolution. On approve the step succeeds; on deny it fails.Design
Outputs
approved_by(string),approved_at(string),reason(on denial).Scope
gatestable (id, run_id, step_name, message, timeout_at, status, resolved_by, resolved_at, reason) + migrationPOST /gates/:id/approve, POST /gates/:id/deny (CLI/user resolves)
return StepResult on resolution or timeout
moira gate list,moira gate approve <id>,moira gate deny <id> --reason "..."waitingstatus while gate is open