Fix working-tree review crash on untracked directories#166
Merged
dkundel-openai merged 2 commits intomainfrom Apr 7, 2026
Merged
Fix working-tree review crash on untracked directories#166dkundel-openai merged 2 commits intomainfrom
dkundel-openai merged 2 commits intomainfrom
Conversation
This was referenced Apr 7, 2026
Crazytieguy
added a commit
to Crazytieguy/codex-plugin-cc
that referenced
this pull request
Apr 15, 2026
Brings in auth-status-via-app-server (openai#177), session-scoped cancel (openai#83,openai#84), older-CLI graceful fallback (openai#126), untracked-dir working tree crash fix (openai#166), Windows SHELL handling (openai#178), the version consistency checker, and related fixes. Rejected from upstream: package rename back to @openai/*, version bump to 1.0.3 (we are at 1.0.8), marketplace metadata.version field, the $ARGUMENTS quoting fix in cancel/result/status slash commands (removed in our fork), stop-review-gate test additions (feature removed), and the README rewrite (ours is intentionally different). Post-merge fixes: - session-lifecycle-hook: use getCodexAvailability (lightweight) since the old getCodexLoginStatus was removed upstream. - executePlanReviewRun: update orphaned ensureCodexReady call to ensureCodexAvailable (upstream renamed; our added code missed it). - bump-version: drop metadata.version and plugins[codex].version targets since our marketplace.json omits them. - package-lock.json: bump to 1.0.8. - .claude/worktrees/.gitignore: ignore generated worktree contents. - getCodexAuthStatus: on connect failure with a stale saved broker endpoint, clear the broker state and retry with disableBroker so a dead socket does not masquerade as a failed auth. - runCommand: on Windows only honor $SHELL if it looks like a native drive-letter path; Git Bash / MSYS set SHELL to /usr/bin/bash which spawnSync cannot resolve. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #14
Testing