fix(agentrun): accept yaml lane pipelinerun status

This commit is contained in:
Codex
2026-06-27 16:59:45 +00:00
parent 2981f3fe07
commit 2a3dee4c09
5 changed files with 21 additions and 7 deletions
+1 -1
View File
@@ -352,7 +352,7 @@ export function parseStatusOptions(args: string[]): StatusOptions {
if (arg === "--pipeline-run") {
const value = args[index + 1];
if (value === undefined || value.startsWith("--")) throw new Error("--pipeline-run requires a value");
if (!isAgentRunPipelineRunName(value)) throw new Error("--pipeline-run must be an agentrun-vNN-ci-<12+ hex> PipelineRun name");
if (!isAgentRunPipelineRunName(value)) throw new Error("--pipeline-run must be a YAML lane AgentRun PipelineRun name ending in ci-<12+ hex>");
pipelineRun = value;
index += 1;
continue;