Skip to main content

run_post_commit_gate

Function run_post_commit_gate 

Source
pub fn run_post_commit_gate(request: &PostCommitRequest<'_>) -> PostCommitGate
Expand description

What: Run the post-commit policies over the landed commit’s delta. Why: Only a gate with no blocking event, no failure and no pending correction lets the backup run; a warning-only result is allowed, as in the incumbent. A landed name that is not an object name is an engine failure, so the commit is kept and reported.

In TS you’d write (pseudocode):

async function runPostCommitLifecycle(input): Promise<PostCommitLifecycleResult>;