Repository snapshot encountered large untracked directories

Resolved 💬 1 comment Opened Dec 2, 2025 by whizzrd Closed Dec 2, 2025

What version of Codex is running?

0.63.0

What subscription do you have?

Plus

Which model were you using?

gpt-5.1-codex-max

What platform is your computer?

Darwin 24.6.0 x86_64 i386

What issue are you seeing?

Codex CLI warns: “Repository snapshot encountered large untracked directories: storage/framework/views… consider adding these paths to .gitignore or disabling undo,” even though storage/framework/views is already in .gitignore.

What steps can reproduce the bug?

Uploaded thread: 019ade13-19a5-71d0-9257-a6e628d6b11a

Start Codex in a Laravel project with cached Blade views under storage/framework/views/; .gitignore present; snapshot/undo enabled → warning appears.

What is the expected behavior?

Snapshot/undo should respect .gitignore (and .git/info/exclude) and skip ignored paths; no warning for ignored cache directories.

Additional information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗