Canonicalize workspace roots for session visibility#158
Conversation
Review Summary by QodoCanonicalize workspace roots for consistent session visibility
WalkthroughsDescription• Canonicalize workspace roots and thread cwd values through realpath • Ensures sessions remain visible with symlinked workspace paths • Exports canonicalization functions for workspace roots state • Adds comprehensive test coverage and manual regression tests Diagramflowchart LR
A["Thread/List Response"] -->|canonicalizeThreadListResponseForRead| B["Canonicalized CWD Values"]
C["Workspace Roots State"] -->|canonicalizeWorkspaceRootsStateForRead| D["Canonicalized Paths"]
B --> E["Sessions Visible Regardless of Symlink"]
D --> E
File Changes1. src/server/codexAppServerBridge.ts
|
Code Review by Qodo
1.
|
Summary
canonicalize saved workspace roots with local realpath
canonicalize thread/list cwd values before sidebar filtering
keep sessions visible when symlink and target paths are mixed
add regression tests and manual test coverage
Verification