mirror of
https://github.com/mikeyobrien/ralph-orchestrator.git
synced 2026-04-25 07:05:57 +03:00
[PR #121] [MERGED] feat: add features.parallel config gate for worktree spawning #146
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ralph-orchestrator#146
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/mikeyobrien/ralph-orchestrator/pull/121
Author: @mikeyobrien
Created: 1/26/2026
Status: ✅ Merged
Merged: 1/26/2026
Merged by: @mikeyobrien
Base:
main← Head:feature/parallel-config-gate📝 Commits (1)
ac653a0feat: add features.parallel config gate for worktree spawning📊 Changes
3 files changed (+42 additions, -2 deletions)
View changed files
📝
crates/ralph-cli/src/main.rs(+9 -0)📝
crates/ralph-core/src/config.rs(+31 -0)📝
crates/ralph-core/src/lib.rs(+2 -2)📄 Description
Context
The parallel worktree feature (auto-spawning loops in git worktrees when another loop holds the lock) has known bugs:
Until these issues are resolved, users need a way to disable the feature entirely. This PR adds a config gate to do exactly that.
Summary
Adds a
features.parallelconfig option to control whether Ralph spawns worktree loops when the lock is held by another process.Changes
FeaturesConfigstruct withparallel: boolfieldconfig.features.parallelbefore spawning worktreeUsage
Behavior
features.paralleltrue(default)falseError Message
Testing
cargo buildpassescargo testpasses (all 447+ tests)parallel: falseand lock heldparallel: trueand lock held🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.