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
@@ -338,7 +338,7 @@ export function isCaptureResult(value: unknown): value is SshCaptureResult {
}
export function isAgentRunPipelineRunName(value: string): boolean {
return /^agentrun-v[0-9]+-ci-[0-9a-f]{12,40}(?:-[a-z0-9-]+)?$/u.test(value);
return /^agentrun-[a-z0-9-]*ci-[0-9a-f]{12,40}(?:-[a-z0-9-]+)?$/u.test(value);
}
export function captureJsonPayload(result: SshCaptureResult): Record<string, unknown> {