A build runs in three steps, the slots are a part of their own (v1.34.3) #106

Merged
mi merged 2 commits from mihoe/build-run-steps into main 2026-10-04 11:50:33 +02:00
Owner

Second Mutation-CRAP refactoring.

  • BuildExecutor.execute (647.55, C 40) -> admit, run, settle + release in finally (5.67).
  • BuildSlots: global + per-repository slots, sized once, repo slot first, lease releases both; unit tests.
  • Behaviour unchanged (BuildExecutorIntegrationTest green).
  • Nightly gate maxMutationCrap 650 -> 57 (next highest: DockerSocketLocator.locate, InitCommand.runningJarPath at 56).

PR-doc: docs/prs/2026-10-04-PR#106-build-run-steps.md

🤖 Generated with Claude Code

Second Mutation-CRAP refactoring. - `BuildExecutor.execute` (647.55, C 40) -> `admit`, `run`, `settle` + release in finally (5.67). - `BuildSlots`: global + per-repository slots, sized once, repo slot first, lease releases both; unit tests. - Behaviour unchanged (BuildExecutorIntegrationTest green). - Nightly gate `maxMutationCrap` 650 -> 57 (next highest: DockerSocketLocator.locate, InitCommand.runningJarPath at 56). PR-doc: `docs/prs/2026-10-04-PR#106-build-run-steps.md` 🤖 Generated with [Claude Code](https://claude.com/claude-code)
mi added 1 commit 2026-10-04 11:18:31 +02:00
BuildExecutor.execute (Mutation-CRAP 647.55, C 40) becomes admit, run,
settle and a release in finally; BuildSlots holds the global and the
per-repository slots with unit tests. Behaviour unchanged, held by
BuildExecutorIntegrationTest. Nightly gate 650 -> 57.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mi added 1 commit 2026-10-04 11:44:11 +02:00
Waiting in ForkJoinPool.commonPool took both workers on the 3-CPU CI host
and the test task hung until the 10-minute timeout; reproduced locally with
common.parallelism=2 (hang after 600 s), green in 174 s with this change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mi merged commit 63cbc396a2 into main 2026-10-04 11:50:33 +02:00
mi deleted branch mihoe/build-run-steps 2026-10-04 11:50:34 +02:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mi/werkator#106