Skip to content

Function: executeGitMergeQueueStep() ​

ts
function executeGitMergeQueueStep<TIn, TOut>(
   node, 
   input, 
   ctx
): Promise<TOut>;

Defined in: git/src/executors/git-commit-and-merge-steps.ts:56

Executes a GitMergeQueueNode (git.mergeQueue) step using speculative cumulative rebase chains.

Combines up to node.maxBatchSize candidate branches onto node.targetBranch, runs node.verifyWith once on the tip $R_k$, and binary-bisects on verification failure to isolate and evict offending branches.

Type Parameters ​

Type ParameterDefault typeDescription
TInunknownStep input payload type.
TOutunknownStep output payload type.

Parameters ​

ParameterTypeDescription
nodeGitMergeQueueNode<TIn, TOut>Passive merge-queue step AST node.
inputTInStep input payload containing candidate branches or refs.
ctxStepExecutionContext<GitWorktreeHandle>Active step execution context.

Returns ​

Promise<TOut>

Validated merge-train execution summary.

Released under the MIT License.