Skip to content

v5: Determine build CPU count dynamically via cgroups - #156

Merged
mathomp4 merged 2 commits into
release/v5from
feature/v5-dynamic-proc-count
Jun 17, 2026
Merged

v5: Determine build CPU count dynamically via cgroups#156
mathomp4 merged 2 commits into
release/v5from
feature/v5-dynamic-proc-count

Conversation

@mathomp4

Copy link
Copy Markdown
Member

This PR replaces the static nproc call with a dynamic cgroups-based (v1 and v2) calculation to accurately determine the actual allocated CPU limits on CircleCI runners.

@mathomp4 mathomp4 self-assigned this Jun 17, 2026
@mathomp4

Copy link
Copy Markdown
Member Author

Your development orb(s) have been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link(s):
https://circleci.com/developer/orbs/orb/geos-esm/circleci-tools?version=dev:56163250fc651c98a2ae2229a2cf78d2958eafdd
https://circleci.com/developer/orbs/orb/geos-esm/circleci-tools?version=dev:alpha

@mathomp4

Copy link
Copy Markdown
Member Author

Your development orb(s) have been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link(s):
https://circleci.com/developer/orbs/orb/geos-esm/circleci-tools?version=dev:cde173792b85488e3c77e8a487d1fe5622e4c5e9
https://circleci.com/developer/orbs/orb/geos-esm/circleci-tools?version=dev:alpha

@mathomp4
mathomp4 merged commit b96b9d2 into release/v5 Jun 17, 2026
3 checks passed
@mathomp4
mathomp4 deleted the feature/v5-dynamic-proc-count branch June 17, 2026 13:28
@mathomp4

Copy link
Copy Markdown
Member Author

Your development orb(s) have been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link(s):
https://circleci.com/developer/orbs/orb/geos-esm/circleci-tools?version=dev:b96b9d251594a47c7c188e38ddd62de342eed164
https://circleci.com/developer/orbs/orb/geos-esm/circleci-tools?version=dev:alpha

1 similar comment
@mathomp4

Copy link
Copy Markdown
Member Author

Your development orb(s) have been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link(s):
https://circleci.com/developer/orbs/orb/geos-esm/circleci-tools?version=dev:b96b9d251594a47c7c188e38ddd62de342eed164
https://circleci.com/developer/orbs/orb/geos-esm/circleci-tools?version=dev:alpha

@mathomp4

Copy link
Copy Markdown
Member Author

Your orb has been published to the CircleCI Orb Registry.
You can view your published orb on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/geos-esm/circleci-tools?version=5.31.0

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.

1 participant