feat(FN-4068): add branch conflict detection and recovery for stale worktre
Implements branch conflict detection and recovery across the Fusion engine, CLI, and dashboard — surfacing git worktree conflicts when tasks conflict with unrelated branch state, and providing a recovery workflow to resolve them. The executor and worktree pool now integrate typed branch conflict che Fusion-Task-Id: FN-4068
This commit is contained in:
@@ -394,6 +394,7 @@ export function SettingsModal({
|
||||
autoMerge: true,
|
||||
mergeStrategy: "direct",
|
||||
recycleWorktrees: false,
|
||||
executorAllowSiblingBranchRename: false,
|
||||
worktreeNaming: "random",
|
||||
includeTaskIdInCommit: true,
|
||||
worktreeInitCommand: "",
|
||||
@@ -3485,6 +3486,22 @@ export function SettingsModal({
|
||||
</label>
|
||||
<small>When enabled, completed task worktrees are returned to an idle pool instead of being deleted, preserving build caches for faster startup</small>
|
||||
</div>
|
||||
<div className="form-group">
|
||||
<label htmlFor="executorAllowSiblingBranchRename" className="checkbox-label">
|
||||
<input
|
||||
id="executorAllowSiblingBranchRename"
|
||||
type="checkbox"
|
||||
checked={form.executorAllowSiblingBranchRename === true}
|
||||
onChange={(e) =>
|
||||
setForm((f) => ({ ...f, executorAllowSiblingBranchRename: e.target.checked }))
|
||||
}
|
||||
/>
|
||||
Allow silent sibling branch rename during executor conflicts
|
||||
</label>
|
||||
<small>
|
||||
Discouraged. This restores the legacy behavior where a live <code>fusion/<task-id></code> branch collision silently forks work onto sibling branches like <code>-2</code> and can hide prior commits from the default recovery flow.
|
||||
</small>
|
||||
</div>
|
||||
<div className="form-group">
|
||||
<label htmlFor="worktreeNaming">Worktree Naming Style</label>
|
||||
<select
|
||||
|
||||
Reference in New Issue
Block a user