fix: parse runner retention kubectl output before redaction

This commit is contained in:
lyon
2026-06-19 23:04:07 +08:00
parent 2b576296d0
commit 1aeadc428d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -280,7 +280,7 @@ async function kubectlRun(kubectlCommand: string, args: string[]): Promise<{ cod
}).catch((error: unknown) => {
throw new AgentRunError("infra-failed", `failed to start kubectl: ${error instanceof Error ? error.message : String(error)}`, { httpStatus: 503 });
});
return { ...result, stdout: redactText(stdout), stderr: redactText(stderr) };
return { ...result, stdout, stderr };
}
function compareCandidates(left: RunnerResourceEntry, right: RunnerResourceEntry): number {