Skip to content

feat: add max-parallelism input#64

Merged
pbardea merged 1 commit intomainfrom
pb/max-parallelism-input
Feb 13, 2026
Merged

feat: add max-parallelism input#64
pbardea merged 1 commit intomainfrom
pb/max-parallelism-input

Conversation

@pbardea
Copy link
Copy Markdown
Contributor

@pbardea pbardea commented Feb 12, 2026

Summary

  • Adds a max-parallelism input to the action that overrides the default BuildKit [worker.oci] max-parallelism setting
  • Default behavior is unchanged — when not specified, it uses the number of vCPUs (nproc)
  • Usage:
    - uses: useblacksmith/setup-docker-builder@v1
      with:
        max-parallelism: 4

Made with Cursor


Note

Low Risk
Small, opt-in configuration change that only affects BuildKit concurrency when explicitly set; minimal impact to default execution path.

Overview
Adds a new action input, max-parallelism, to let workflows override BuildKit’s [worker.oci] max-parallelism setting.

The action now parses and validates this value (positive integer) and, when provided, uses it instead of nproc-derived CPU count when starting/configuring buildkitd; default behavior is unchanged when the input is omitted.

Written by Cursor Bugbot for commit f0e488b. This will update automatically on new commits. Configure here.

…teps

Exposes a max-parallelism input that overrides the default (nproc) value
for buildkitd's [worker.oci] max-parallelism setting. When not specified,
behavior is unchanged (defaults to number of vCPUs).
@pbardea pbardea requested a review from adityamaru February 13, 2026 15:03
@linear
Copy link
Copy Markdown

linear Bot commented Feb 13, 2026

@pbardea pbardea merged commit e477fa0 into main Feb 13, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants