openai / openai/codex-plugin-cc
Review context collection crashes on broken untracked symlinks
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 33.3k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
Summary
When /codex:review collects working-tree context, it reads untracked files directly from disk.
If the repository contains a broken symlink or an unreadable untracked path, review context collection can throw
and abort the whole review.
Steps to reproduce
- Create a git repo with a clean initial commit.
- Add an untracked broken symlink, for example:
ln -s missing-target broken-link - Run the review flow that collects working-tree context.
Actual behavior
The command crashes while trying to stat/read the untracked path.
Expected behavior
Broken symlinks or unreadable untracked files should be skipped and noted in the review context, instead of
failing the entire review.
Notes
The failure happens in untracked file handling during working-tree context collection.
A resilient fallback would keep the review running and mark the path as skipped.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the untracked file handling in working-tree context collection and reproduce the review flow with a broken symlink or unreadable untracked path. Trace how the path is statted or read, then verify that the review continues, records the path as skipped, and does not crash.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100