Interface: GitCommitAndPushBuilder<TIn>
Defined in: git/src/builders/git-commit-and-push-builder.ts:18
Fluent builder for a retry-safe commit, rebase, and push domain step (git.commitAndPush).
Compiles into a passive GitCommitAndPushNode<TIn> (type: 'git:commit-and-push') dispatched via RuntimeExecutorRegistry.steps['git:commit-and-push'].
Extends
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
TIn | unknown | Step input payload type. |
Methods
env()
env(env): GitCommitAndPushBuilder<TIn>;Defined in: git/src/builders/git-commit-and-push-builder.ts:55
Binds environment variables or symbolic P.env(key) references injected into git commands.
Symbolic EnvRef values are preserved in the AST and resolved exclusively at runtime execution.
Parameters
| Parameter | Type | Description |
|---|---|---|
env | Readonly<Record<string, string | EnvRef>> | Environment map to attach to the step node. |
Returns
GitCommitAndPushBuilder<TIn>
Updated immutable step builder instance.
input()
input<TNextIn>(schema): GitCommitAndPushBuilder<TNextIn>;Defined in: git/src/builders/git-commit-and-push-builder.ts:31
Binds a Zod schema validating the step input payload passed to branch(input) and message(input).
Narrows or updates the builder's TIn type parameter to match the supplied schema.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
TNextIn | TIn | Updated step input payload type inferred from schema. |
Parameters
| Parameter | Type | Description |
|---|---|---|
schema | ZodType<TNextIn> | Zod schema for step input validation. |
Returns
GitCommitAndPushBuilder<TNextIn>
Updated immutable step builder instance.
runner()
runner(runner): GitCommitAndPushBuilder<TIn>;Defined in: git/src/builders/git-commit-and-push-builder.ts:44
Binds the NodeRunnerNode pool governing git and verification subprocess concurrency.
Accepts either a compiled NodeRunnerNode or a fluent AstBuilder<NodeRunnerNode>.
Parameters
| Parameter | Type | Description |
|---|---|---|
runner | MaybeBuilder<NodeRunnerNode> | Runner pool descriptor or builder. |
Returns
GitCommitAndPushBuilder<TIn>
Updated immutable step builder instance.
toAST()
toAST(): GitCommitAndPushNode;Defined in: core/dist/ast/ast-builder.d.ts:19
Compiles the current builder configuration into a deeply frozen passive AST node.
Validates required builder invariants at compilation time and returns an immutable plain-object AST representation containing zero execution methods.
Returns
Deeply frozen passive AST node.