BuildExecutor tests without real processes for the nightly mutation build, and an ActiveBuilds register (v1.34.5) #108

Merged
mi merged 1 commits from mihoe/active-builds into main 2026-10-04 15:47:40 +02:00
Owner
  • BuildExecutorUnitTest: the real BuildExecutor against a fake build runner (no processes, ~6 s), so the nightly PIT run measures command order, cancel, shutdown, duplicates, timeout and the restart drain.
  • ActiveBuilds: register of queued and running builds (duplicates, active keys, executing, cancellation) instead of a map asked in nine places.
  • BuildExecutorIntegrationTest stays excluded from PIT: locally PIT on BuildExecutor ran >100 min with it vs 12 min without.
  • runBuildCommands 46.55 -> 20.78, shutdown 42 -> 7, cancel 30 -> 4, startBuild 28.7 -> 3; gate 47 -> 46.

PR-doc: docs/prs/2026-10-04-PR#108-build-executor-fast-tests.md

🤖 Generated with Claude Code

- `BuildExecutorUnitTest`: the real BuildExecutor against a fake build runner (no processes, ~6 s), so the nightly PIT run measures command order, cancel, shutdown, duplicates, timeout and the restart drain. - `ActiveBuilds`: register of queued and running builds (duplicates, active keys, executing, cancellation) instead of a map asked in nine places. - BuildExecutorIntegrationTest stays excluded from PIT: locally PIT on BuildExecutor ran >100 min with it vs 12 min without. - runBuildCommands 46.55 -> 20.78, shutdown 42 -> 7, cancel 30 -> 4, startBuild 28.7 -> 3; gate 47 -> 46. PR-doc: `docs/prs/2026-10-04-PR#108-build-executor-fast-tests.md` 🤖 Generated with [Claude Code](https://claude.com/claude-code)
mi added 1 commit 2026-10-04 15:26:51 +02:00
BuildExecutorIntegrationTest stays out of PIT (with it, PIT on BuildExecutor
alone ran over 100 minutes instead of 12). BuildExecutorUnitTest runs the
real executor against a fake build runner in about six seconds; ActiveBuilds
replaces the map of artifact keys. runBuildCommands 46.55 -> 20.78,
shutdown 42 -> 7, cancel 30 -> 4, startBuild 28.7 -> 3. Gate 47 -> 46.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mi merged commit 733bbc25f8 into main 2026-10-04 15:47:40 +02:00
mi deleted branch mihoe/active-builds 2026-10-04 15:47:40 +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#108