Put the installed codex binary on PATH for review agents

オープン
#111 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@muspi-merol-review がすでに取り組んでいます。

2026年11月16日 から。

  • #114 @muspi-merol-review による — オープン

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
github-actions, typescript
領域
ci-cd

調査の方向性

Start with scripts/configure-review.sh and the workflow steps that consume CODEX_BIN; compare how setup exports the binary directory with how later steps receive it. Check the review prompt's advertised CLI tooling, then run a probe such as codex --version in the review environment. Done means the installed CLI is discoverable to the agent; linked pull request #114 indicates work is already underway.

索引モデルが issue の本文から書いたものです。

説明

A review run that probed the CLI got:

/bin/bash: line 1: codex: command not found

Exit 127, run 43764183120.

scripts/configure-review.sh installs @openai/codex under $RUNNER_TEMP/codex and exports that bin directory only inside the setup shell. Later steps receive CODEX_BIN, but no PATH entry, and the review prompt advertises codex-cli <version> as available tooling without naming that variable. The agent can run the reviewer, but cannot inspect or drive the CLI it is told is installed.

Append $RUNNER_TEMP/codex/node_modules/.bin to $GITHUB_PATH (or point the prompt at $CODEX_BIN) so a probe like codex --version behaves.

Found while auditing 413 review artifacts; this is the only missing-CLI case in them.

主要言語
TypeScript
スター
0
フォーク
0
平均マージ
1時間 39分
マージ済み PR(30日)
84

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

promplate/code-review のほかの issue

promplate/code-review の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。