fix(FN-4811): repair step-session registry wiring recursion
Fusion-Task-Id: FN-4811 Fusion-Task-Lineage: f3dac123-cb46-4d31-8a7e-dfc664bfdc5f
This commit is contained in:
committed by
gsxdsm
parent
69d7b282cf
commit
7a438f63ee
@@ -630,7 +630,7 @@ export class StepSessionExecutor {
|
||||
private maxParallel: number;
|
||||
|
||||
private registerActiveStepSession(stepIndex: number, handle: SessionHandle, worktreePath: string): void {
|
||||
this.registerActiveStepSession(stepIndex, handle, worktreePath);
|
||||
this.activeSessions.set(stepIndex, handle);
|
||||
activeSessionRegistry.registerPath(worktreePath, {
|
||||
taskId: this.options.taskDetail.id,
|
||||
kind: "step-session",
|
||||
@@ -639,12 +639,12 @@ export class StepSessionExecutor {
|
||||
}
|
||||
|
||||
private unregisterActiveStepSession(stepIndex: number, worktreePath: string): void {
|
||||
this.unregisterActiveStepSession(stepIndex, worktreePath);
|
||||
this.activeSessions.delete(stepIndex);
|
||||
activeSessionRegistry.unregisterPath(worktreePath);
|
||||
}
|
||||
|
||||
private registerParallelWorktree(stepIndex: number, worktreePath: string): void {
|
||||
this.registerParallelWorktree(stepIndex, worktreePath);
|
||||
this.parallelWorktrees.set(stepIndex, worktreePath);
|
||||
activeSessionRegistry.registerPath(worktreePath, {
|
||||
taskId: this.options.taskDetail.id,
|
||||
kind: "step-session-parallel",
|
||||
|
||||
Reference in New Issue
Block a user