fix: adapt landed fixups to current type and approval constraints

This commit is contained in:
Peter Steinberger
2026-02-24 04:20:24 +00:00
parent dd14daab15
commit 803e02d8df
3 changed files with 5 additions and 2 deletions

View File

@@ -145,6 +145,7 @@ describe("sanitizeSystemRunParamsForForwarding", () => {
const record = approvalManager.create(
{
host: "node",
nodeId: "node-1",
command: "echo SAFE",
cwd: null,
agentId: null,
@@ -170,6 +171,7 @@ describe("sanitizeSystemRunParamsForForwarding", () => {
};
const first = sanitizeSystemRunParamsForForwarding({
nodeId: "node-1",
rawParams: params,
client,
execApprovalManager: approvalManager,
@@ -178,6 +180,7 @@ describe("sanitizeSystemRunParamsForForwarding", () => {
expectAllowOnceForwardingResult(first);
const second = sanitizeSystemRunParamsForForwarding({
nodeId: "node-1",
rawParams: params,
client,
execApprovalManager: approvalManager,