fix(agentrun): use idle watchdog as sole stdio timeout
This commit is contained in:
@@ -153,7 +153,6 @@ controlPlane:
|
||||
serviceAccount: agentrun-v01-runner
|
||||
jobNamePrefix: agentrun-v01-runner
|
||||
idleTimeoutMs: 600000
|
||||
missingTerminalAfterToolTimeoutMs: 60000
|
||||
backendRetry:
|
||||
maxAttempts: 1
|
||||
initialBackoffMs: 1000
|
||||
@@ -333,8 +332,7 @@ controlPlane:
|
||||
runner:
|
||||
serviceAccount: agentrun-v02-runner
|
||||
jobNamePrefix: agentrun-v02-runner
|
||||
idleTimeoutMs: 172800000
|
||||
missingTerminalAfterToolTimeoutMs: 60000
|
||||
idleTimeoutMs: 600000
|
||||
backendRetry:
|
||||
maxAttempts: 5
|
||||
initialBackoffMs: 1000
|
||||
|
||||
@@ -104,7 +104,6 @@ export interface AgentRunLaneSpec {
|
||||
readonly serviceAccount: string;
|
||||
readonly jobNamePrefix: string;
|
||||
readonly idleTimeoutMs: number;
|
||||
readonly missingTerminalAfterToolTimeoutMs: number;
|
||||
readonly backendRetry: {
|
||||
readonly maxAttempts: number;
|
||||
readonly initialBackoffMs: number;
|
||||
@@ -547,7 +546,6 @@ function parseDeployment(input: Record<string, unknown>, path: string): AgentRun
|
||||
serviceAccount: stringField(runner, "serviceAccount", `${path}.runner`),
|
||||
jobNamePrefix: stringField(runner, "jobNamePrefix", `${path}.runner`),
|
||||
idleTimeoutMs: positiveIntegerField(runner, "idleTimeoutMs", `${path}.runner`),
|
||||
missingTerminalAfterToolTimeoutMs: positiveIntegerField(runner, "missingTerminalAfterToolTimeoutMs", `${path}.runner`),
|
||||
backendRetry: parseRunnerBackendRetry(recordField(runner, "backendRetry", `${path}.runner`), `${path}.runner.backendRetry`),
|
||||
apiKeySecretRef: parseSecretRef(recordField(runner, "apiKeySecretRef", `${path}.runner`), `${path}.runner.apiKeySecretRef`),
|
||||
egressProxyUrl: optionalStringField(runner, "egressProxyUrl", `${path}.runner`) ?? null,
|
||||
|
||||
@@ -439,7 +439,6 @@ function managerEnv(spec: AgentRunLaneSpec, sourceCommit: string, imageRef: stri
|
||||
{ name: "AGENTRUN_RUNNER_SERVICE_ACCOUNT", value: spec.deployment.runner.serviceAccount },
|
||||
{ name: "AGENTRUN_RUNNER_JOB_NAME_PREFIX", value: spec.deployment.runner.jobNamePrefix },
|
||||
{ name: "AGENTRUN_RUNNER_IDLE_TIMEOUT_MS", value: String(spec.deployment.runner.idleTimeoutMs) },
|
||||
{ name: "AGENTRUN_RUNNER_MISSING_TERMINAL_AFTER_TOOL_TIMEOUT_MS", value: String(spec.deployment.runner.missingTerminalAfterToolTimeoutMs) },
|
||||
{ name: "AGENTRUN_BACKEND_RETRY_MAX_ATTEMPTS", value: String(spec.deployment.runner.backendRetry.maxAttempts) },
|
||||
{ name: "AGENTRUN_BACKEND_RETRY_INITIAL_BACKOFF_MS", value: String(spec.deployment.runner.backendRetry.initialBackoffMs) },
|
||||
{ name: "AGENTRUN_BACKEND_RETRY_MAX_BACKOFF_MS", value: String(spec.deployment.runner.backendRetry.maxBackoffMs) },
|
||||
|
||||
Reference in New Issue
Block a user