Skip to content

Fix thread/list cwd filtering for Windows verbatim paths#17414

Merged
etraut-openai merged 5 commits intomainfrom
etraut/thread_list_filter
Apr 11, 2026
Merged

Fix thread/list cwd filtering for Windows verbatim paths#17414
etraut-openai merged 5 commits intomainfrom
etraut/thread_list_filter

Conversation

@etraut-openai
Copy link
Copy Markdown
Collaborator

@etraut-openai etraut-openai commented Apr 11, 2026

Addresses #17302

Problem: thread/list compared cwd filters with raw path equality, so resume --last could miss Windows sessions when the saved cwd used a verbatim path form and the current cwd did not.

Solution: Normalize cwd comparisons through the existing path comparison utilities before falling back to direct equality, and add Windows regression coverage for verbatim paths. I made this a general utility function and replaced all of the duplicated instance of it across the code base.

@etraut-openai etraut-openai marked this pull request as ready for review April 11, 2026 03:06
@etraut-openai etraut-openai merged commit e9e7ef3 into main Apr 11, 2026
27 of 30 checks passed
@etraut-openai etraut-openai deleted the etraut/thread_list_filter branch April 11, 2026 06:08
@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2026
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.

2 participants