You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
codex runtime review-trigger loop: not started by a normal launch; its own pr.opened event cannot request a review #644
The codex runtime's review-trigger loop (cli#631 / PR #642 made it read only the agent's own feed) does not run end to end today:
Not started by a normal launch.bin/tps.ts passes autoCommit to runCodexRuntime but not reviewTrigger; the loop starts only when that field is present (utils/codex-runtime.ts).
The runtime's own event cannot request a review. Auto-commit publishes pr.opened with a branch name in detail; the review handler needs /pull/<number> and returns normally when it is missing, so the task loop marks the event done and advances its cursor.
A failed review request is consumed as handled for the same reason.
Ask:
Validate the user's review-trigger config and pass it through the launcher; a real config-file launch starts the loop.
Emit pr.opened only after PR creation, carrying the PR URL.
Missing PR data or a failed review request fails the handler, so the cursor retries.
Tests with configured reviewers asserting the review-request command and payload, for a runtime-produced event and a failed request.
Found in the review of cli#642; pre-existing on main.
Activity