Put the installed codex binary on PATH for review agents

未关闭
#111 2 条评论 1 个 reaction 已指派 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 分钟
30 天内合并 PR
84

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

promplate/code-review 的其他 Issue

查看 promplate/code-review 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。