Skip to content

Function: createGitMergeQueueBuilder() ​

ts
function createGitMergeQueueBuilder<TIn, TOut>(id, options): GitMergeQueueBuilder<TIn, TOut>;

Defined in: git/src/builders/create-git-merge-queue-builder.ts:24

Creates a fluent GitMergeQueueBuilder (git.mergeQueue(id, options)).

Compiles into a passive GitMergeQueueNode<TIn, TOut> configuring cumulative merge-train batching and binary bisection.

Type Parameters ​

Type ParameterDefault typeDescription
TInunknownValidated step input type.
TOutunknownValidated step output type.

Parameters ​

ParameterTypeDescription
idstringUnique merge queue step identifier.
optionsGitMergeQueueOptions<TIn, TOut>Target branch, batch size, and verification check configuration.

Returns ​

GitMergeQueueBuilder<TIn, TOut>

Immutable fluent GitMergeQueueBuilder instance.

Throws ​

If id is empty or maxBatchSize is not a positive integer.

Released under the MIT License.