feat(FN-4626): complete Step 5 — align worktrunk failure payload shape
Fusion-Task-Id: FN-4626 Fusion-Task-Lineage: 04b06bf6-b08c-4ff1-b69a-ab93f6e508b3
This commit is contained in:
committed by
gsxdsm
parent
99860e8419
commit
80382ed911
@@ -119,7 +119,13 @@ export async function acquireTaskWorktree(opts: AcquireTaskWorktreeOptions): Pro
|
||||
const stderr = error instanceof WorktrunkOperationError ? error.stderr : undefined;
|
||||
const exitCode = error instanceof WorktrunkOperationError ? error.exitCode : null;
|
||||
const disposition = await handleWorktrunkOperationFailure({
|
||||
failure: { op, cause: error, stderr, exitCode },
|
||||
failure: {
|
||||
op,
|
||||
cause: error,
|
||||
stderr,
|
||||
exitCode,
|
||||
worktreePath,
|
||||
},
|
||||
task,
|
||||
settings: settings.worktrunk ?? {},
|
||||
store,
|
||||
|
||||
Reference in New Issue
Block a user