feat(FN-4686): complete Step 4 — wire backend audit metadata
Fusion-Task-Id: FN-4686 Fusion-Task-Lineage: a1e58bd8-fd94-471a-b164-c396c5512fea
This commit is contained in:
committed by
gsxdsm
parent
332fab63a1
commit
eaeb5b5394
@@ -217,7 +217,11 @@ export async function acquireTaskWorktree(opts: AcquireTaskWorktreeOptions): Pro
|
|||||||
allowSiblingBranchRename: allowRename,
|
allowSiblingBranchRename: allowRename,
|
||||||
});
|
});
|
||||||
if (backend.kind === "worktrunk") {
|
if (backend.kind === "worktrunk") {
|
||||||
await audit?.git({ type: "worktree:worktrunk-create", target: created.path, metadata: { branch: created.branch } });
|
await audit?.git({
|
||||||
|
type: "worktree:worktrunk-create",
|
||||||
|
target: created.path,
|
||||||
|
metadata: { branch: created.branch, taskId: task.id },
|
||||||
|
});
|
||||||
}
|
}
|
||||||
return created;
|
return created;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user