openai / openai/codex-plugin-cc

Review context collection crashes on broken untracked symlinks

Open
#65 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Create a git repo with a clean initial commit.
  2. Add an untracked broken symlink, for example:
    ln -s missing-target broken-link
    
    
  3. 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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.