(reviewName, target)
| 530 | } |
| 531 | |
| 532 | function buildReviewJobMetadata(reviewName, target) { |
| 533 | return { |
| 534 | kind: reviewName === "Adversarial Review" ? "adversarial-review" : "review", |
| 535 | title: reviewName === "Review" ? "Codex Review" : `Codex ${reviewName}`, |
| 536 | summary: `${reviewName} ${target.label}` |
| 537 | }; |
| 538 | } |
| 539 | |
| 540 | function buildTaskRunMetadata({ prompt, resumeLast = false }) { |
| 541 | if (!resumeLast && String(prompt ?? "").includes(STOP_REVIEW_TASK_MARKER)) { |
no outgoing calls
no test coverage detected