Build command process and build logs moved out of BuildExecutor, tested with real short processes (v1.34.6) #109

Merged
mi merged 1 commits from mihoe/build-process into main 2026-10-04 16:56:46 +02:00
Owner
  • CommandProcess: one build command while it runs (log pumps, processor-time sampling, deadline via awaitExit, destroyTree).
  • BuildLogs: the three log files of a build, opened and closed together; runBuildCommands uses one use.
  • CommandProcessIntegrationTest: real processes, ~4 s, kept by the nightly mutation build.
  • runBuildCommands 20.78 -> 6.84; every BuildExecutor method below 15 (max settle 12.19). Gate stays 46 (NginxProxyManager.cleanupStaleContainers 45.04).

PR-doc: docs/prs/2026-10-04-PR#109-command-process.md

🤖 Generated with Claude Code

- `CommandProcess`: one build command while it runs (log pumps, processor-time sampling, deadline via `awaitExit`, `destroyTree`). - `BuildLogs`: the three log files of a build, opened and closed together; `runBuildCommands` uses one `use`. - `CommandProcessIntegrationTest`: real processes, ~4 s, kept by the nightly mutation build. - runBuildCommands 20.78 -> 6.84; every BuildExecutor method below 15 (max settle 12.19). Gate stays 46 (NginxProxyManager.cleanupStaleContainers 45.04). PR-doc: `docs/prs/2026-10-04-PR#109-command-process.md` 🤖 Generated with [Claude Code](https://claude.com/claude-code)
mi added 1 commit 2026-10-04 16:29:14 +02:00
The process handling (log pumps, processor-time sampling, deadline, ending
the process tree) moves into CommandProcess, the three build logs into
BuildLogs. CommandProcessIntegrationTest runs real processes in about four
seconds, so the nightly mutation build keeps it. runBuildCommands
20.78 -> 6.84; every BuildExecutor method is below 15 now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mi merged commit 2061d76d38 into main 2026-10-04 16:56:46 +02:00
mi deleted branch mihoe/build-process 2026-10-04 16:56:46 +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#109