feat(FN-4606): complete Step 3 — route engine call sites
Ref: Runfusion/Fusion#321 Fusion-Task-Id: FN-4606 Fusion-Task-Lineage: 94b23f37-944e-4bcd-bfa1-67d0a8c0a267
This commit is contained in:
@@ -638,8 +638,9 @@ export class Scheduler {
|
||||
task: Task,
|
||||
naming: string | undefined,
|
||||
reservedNames: Set<string>,
|
||||
settings: Partial<Settings>,
|
||||
): string {
|
||||
return planTaskWorktreePath(task, this.store.getRootDir(), naming, reservedNames);
|
||||
return planTaskWorktreePath(task, this.store.getRootDir(), naming, reservedNames, settings);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1078,7 +1079,7 @@ export class Scheduler {
|
||||
});
|
||||
await this.store.moveTask(task.id, "in-progress", {
|
||||
allocateWorktree: (reservedNames) =>
|
||||
this.planWorktreePath(task, settings.worktreeNaming, reservedNames),
|
||||
this.planWorktreePath(task, settings.worktreeNaming, reservedNames, settings),
|
||||
});
|
||||
this.wasNodeBlocked.delete(task.id);
|
||||
this.wasNodeDispatchValidationBlocked.delete(task.id);
|
||||
|
||||
Reference in New Issue
Block a user