Skip to content

fix: resume lookup for gitignored CODEX_HOME - #5311

Merged
owenlin0 merged 5 commits into
mainfrom
tibo/resume-codex-home
Oct 23, 2025
Merged

owenlin0 merged 5 commits into
mainfrom
tibo/resume-codex-home

Conversation

@tibo-openai

@tibo-openai tibo-openai commented Oct 18, 2025 •

Copy link
Copy Markdown
Collaborator

Walk the sessions tree instead of using file_search so gitignored CODEX_HOME directories can resume sessions. Add a regression test that covers a .gitignore'd sessions directory.

Fixes #5247
Fixes #5412

@tibo-openai tibo-openai changed the title Fix resume lookup for gitignored CODEX_HOME fix: resume lookup for gitignored CODEX_HOME Oct 18, 2025
@tibo-openai
tibo-openai force-pushed the tibo/resume-codex-home branch from a4cf9f5 to 4b569f5 Compare October 18, 2025 03:35
@tibo-openai
tibo-openai marked this pull request as ready for review October 22, 2025 02:54
Comment thread codex-rs/core/src/rollout/list.rs Resolved
Comment thread codex-rs/core/src/rollout/list.rs Resolved

@pakrym-oai pakrym-oai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm getting a bit uncomfortable with how many file walker implementations we have.

@MarianoFacundoArch

Copy link
Copy Markdown

Necessary fix, though!

@owenlin0
owenlin0 enabled auto-merge (squash) October 23, 2025 16:52
@owenlin0
owenlin0 merged commit 3059373 into main Oct 23, 2025
@owenlin0
owenlin0 deleted the tibo/resume-codex-home branch October 23, 2025 17:04
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 23, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot resume sessions when setting variable commands like "codex resume session-id" do not respect CODEX_HOME

4 participants