Put the installed codex binary on PATH for review agents

Đang mở
#111 2 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@muspi-merol-review đang làm issue này rồi.

Từ ngày 16/11/2026.

  • #114 của @muspi-merol-review — đang mở

Đánh giá

Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
github-actions, typescript
Lĩnh vực
ci-cd

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
0
Fork
0
Merge trung bình
1 giờ 39 phút
Pull request đã merge (30 ngày)
84

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của promplate/code-review

Tất cả issue của promplate/code-review

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.