Skip to content

Reject symlinked parent directories during release scans - #39

Merged
Whning0513 merged 1 commit into
mainfrom
codex/release-audit-symlink-ancestors-20261031
Oct 31, 2026
Merged

Whning0513 merged 1 commit into
mainfrom
codex/release-audit-symlink-ancestors-20261031

Conversation

@Whning0513

Copy link
Copy Markdown
Owner

An unstaged directory symlink can redirect a tracked file outside the worktree even when the file itself is not a symlink. Flag the path and skip it before reading its target.

Validation: python -m pytest repoReleaseAudit/tests -q (11 passed, 4 skipped on Windows); the real-directory-symlink case runs where supported.

Copilot AI balanced review requested due to automatic review settings October 31, 2026 12:27

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@Whning0513
Whning0513 merged commit a6b6265 into main Oct 31, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants