Add centralized codex-code-review reusable workflow#17
Conversation
Adds a thin caller that delegates to happycatlabs/codex-review-workflow. The actual prompt, auth model, and sticky-comment lifecycle live in that repo. Update there to update every consumer at once.
Review of PR #17 — Add centralized codex-code-review reusable workflowThis PR adds a reusable code-review workflow, a Codex clarification question flow ( FindingsBUG: Cancelled run status overwritten to
if (currentRun.overallStatus === "cancelled") {
rejectUserInputRequest(request.requestId, `Run ${interactionContext.runId} was cancelled while waiting for input.`);
await clearPendingQuestion(request.requestId, "waiting_for_answer");
return;
}When a run is cancelled while waiting for input, await interactionContext.store.updateRun(interactionContext.runId, {
overallStatus, // ← "waiting_for_answer" overwrites "cancelled"
pendingQuestion: undefined,
});Scenario: User runs Fix: Either skip the |
ReviewBUG: Cancelled run status overwritten with
|
|
No issues found. The PR centralizes the Codex review workflow and adds Codex path resolution, multi-agent-aware prompting, question/answer handling, review effort config, and related docs/tests. |
ReviewBUG: Cancelled run status overwritten to
|
Summary
Adds a thin caller that delegates the codex-code-review workflow to
happycatlabs/codex-review-workflow. One central place owns the prompt, auth model, incremental-review state, and comment lifecycle.Notes
CODEX_AUTH_JSONrepo secret needs to be set before the workflow can run (passed through viasecrets: inherit).REVIEW.mdat the repo root for project-specific conventions; the workflow reads it at runtime.