fix: expose agentrun lane observability

This commit is contained in:
Codex
2026-06-20 09:40:45 +00:00
parent 7e574a1d4c
commit 2a82e2972c
2 changed files with 222 additions and 25 deletions
+8 -4
View File
@@ -1220,14 +1220,16 @@ GREP = ${grepLiteral}
LIMIT = ${options.limit}
IMPORTANT_ATTRS = [
"traceId", "otel.trace_id", "agentrun.stage", "runId", "commandId",
"sessionId", "turnId", "threadId", "failureKind", "willRetry",
"sessionId", "turnId", "threadId", "runnerJobId", "failureKind", "willRetry",
"terminalStatus", "phase", "message", "http.route", "http.status_code",
"http.method", "eventType", "runnerId", "attemptId", "storageKind",
"http.method", "eventType", "runnerId", "attemptId", "backendProfile",
"sourceCommit", "jobName", "podName", "logPath", "storageKind",
"storagePvcName", "storagePvcPhase", "resumeMode", "rolloutId",
"returnedEvents", "sinceSeq", "afterSeq", "limit", "fromSeq", "toSeq",
"totalEvents", "hasMore", "fullTraceLoaded", "rawEventCount",
"maxSeq", "traceLastSeq", "endSeq", "commandFiltered",
"error", "error.message", "exception.type", "exception.message",
"valuesPrinted",
]
IMPORTANT_NAMES = {
"durable_admission", "billing_preflight", "agentrun_dispatch",
@@ -1460,14 +1462,16 @@ CANDIDATE_LIMIT = ${options.candidateLimit}
DEADLINE = time.time() + 50
IMPORTANT_ATTRS = [
"traceId", "otel.trace_id", "agentrun.stage", "runId", "commandId",
"sessionId", "turnId", "threadId", "failureKind", "willRetry",
"sessionId", "turnId", "threadId", "runnerJobId", "failureKind", "willRetry",
"terminalStatus", "phase", "message", "http.route", "http.status_code",
"http.method", "eventType", "runnerId", "attemptId", "storageKind",
"http.method", "eventType", "runnerId", "attemptId", "backendProfile",
"sourceCommit", "jobName", "podName", "logPath", "storageKind",
"storagePvcName", "storagePvcPhase", "resumeMode", "rolloutId",
"returnedEvents", "sinceSeq", "afterSeq", "limit", "fromSeq", "toSeq",
"totalEvents", "hasMore", "fullTraceLoaded", "rawEventCount",
"maxSeq", "traceLastSeq", "endSeq", "commandFiltered",
"error", "error.message", "exception.type", "exception.message",
"valuesPrinted",
]
def run_kubectl(proxy_path, timeout=10):