Skip to content

ci(bosn): drop the managed stack's CARGO_BUILD_JOBS=1 cap (#29) - #350

Merged
zackees merged 1 commit into
mainfrom
ci/29-bosn-drop-job-cap
Sep 25, 2026
Merged

zackees merged 1 commit into
mainfrom
ci/29-bosn-drop-job-cap

Conversation

@zackees

@zackees zackees commented Sep 25, 2026

Copy link
Copy Markdown
Collaborator

Closes #29.

#29 proposed choosing Cargo fan-out from a pre-build Soldr admission verdict, because Soldr 0.9.10 could not admit amalgamation-sized units early enough. That premise no longer holds:

  • Soldr's in-daemon admission now compiles amalgamation-sized units alone and picks a topology-aware width for the rest. Soldr 0.9.21's own guidance says an OOM is an admission defect to diagnose, not a reason to cap Cargo globally.
  • CI already relies on this. ci: bump setup-soldr past the SOLDR_JOBS=1 default, drop job caps #320 dropped SOLDR_JOBS/CARGO_BUILD_JOBS everywhere, and test_no_job_caps_compile_concurrency enforces it.

bosn.toml was the last place carrying the one-job stopgap. This PR removes it and extends that test to fail if bosn.toml sets either variable.

Verification

  • Red then green: the extended test fails against the old bosn.toml and passes against the new one.
  • bosn lint (soldr cargo clippy --locked --all-features --all-targets -- --deny warnings) ran cold and uncapped in the managed Linux stack. It compiled 1995 units with 0 cache hits, finished in 6m38s, and exited 0, with no OOM.
  • Caveats: the host has 16 CPUs and 135 GB, and my container-memory sampler did not capture data because of a name-filter mismatch. This shows the uncapped graph builds in the managed stack. It does not bound peak memory on a smaller host.

🤖 Generated with Claude Code

The cap was a stopgap until Soldr could admit amalgamation-sized units
itself. It now does in-daemon, and CI dropped its own caps in #320 on
that basis. Apply the same rule to bosn.toml and extend
test_no_job_caps_compile_concurrency to cover it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@zackees
zackees merged commit 92ab8e9 into main Sep 25, 2026
5 checks passed
@zackees
zackees deleted the ci/29-bosn-drop-job-cap branch September 25, 2026 00:49
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.

ci(bosn): adapt Cargo jobs from Soldr admission

1 participant