codex - 💡(How to fix) Fix Windows Desktop: Project Timeline shows no history despite existing threads (path identity mismatch with OneDrive/GoodSync/junction/\\?\ prefix) [2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#18253Fetched 2026-04-17 08:30:47
View on GitHub
Comments
2
Participants
2
Timeline
6
Reactions
0
Author
Timeline (top)
labeled ×4commented ×2
RAW_BUFFERClick to expand / collapse

What version of the Codex App are you using (From “About Codex” dialog)?

26.415.20818

What subscription do you have?

Pro

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

Project Timeline in Codex Desktop shows no history, even though thread/session history exists on disk.

What steps can reproduce the bug?

  1. Use Codex Desktop on Windows with workspace under OneDrive-backed path.
  2. Open project via C:\Users\jacob\GoodSync\repos\net_80_migration (junction form).
  3. After restarts/path normalization attempts, Timeline becomes empty.
  4. Data still exists:
    • ~/.codex/sessions/**/rollout-*.jsonl contains session_meta entries.
    • ~/.codex/state_5.sqlite contains threads rows.

What is the expected behavior?

Timeline should show existing thread history for the project regardless of equivalent Windows path forms.

Additional information

What do you see instead?

Timeline is empty. Internally, path identity drifts across:

  • C:\Users\jacob\GoodSync\...
  • C:\Users\jacob\OneDrive\GoodSync\...
  • \\?\C:\Users\jacob\OneDrive\GoodSync\...

Additional information

Evidence from local inspection before restore:

  • session_meta_entries: 32
  • threads_total: 32
  • session_meta cwd mostly C:\Users\jacob\GoodSync\repos\...
  • DB threads.cwd mostly \\?\C:\Users\jacob\OneDrive\GoodSync\repos\...
  • C:\Users\jacob\GoodSync is a junction targetting C:\Users\jacob\OneDrive\GoodSync

This looks like a Windows path canonicalization/path-equivalence bug in project timeline matching.

extent analysis

TL;DR

The issue can be resolved by ensuring consistent path canonicalization in the Codex App, possibly by using a standardized path format for the workspace.

Guidance

  • Verify that the C:\Users\jacob\GoodSync\repos\net_80_migration path is correctly resolved to its target path C:\Users\jacob\OneDrive\GoodSync\repos\net_80_migration to prevent path identity drift.
  • Check the Codex App's configuration to see if there's an option to set a preferred path format (e.g., using the \\?\ prefix) to ensure consistency across different Windows path forms.
  • Inspect the ~/.codex/sessions/**/rollout-*.jsonl and ~/.codex/state_5.sqlite files to confirm that the session metadata and thread data are correctly stored and can be matched with the expected project timeline.
  • Consider using a symbolic link or a configuration option to ensure that the Codex App uses a consistent path for the workspace, regardless of the Windows path form used to access it.

Example

No code snippet is provided as the issue seems to be related to path canonicalization and configuration rather than a specific code bug.

Notes

The issue appears to be specific to the Windows platform and the use of OneDrive-backed paths, which may introduce additional complexity in path resolution. Ensuring consistent path canonicalization and using a standardized path format may help resolve the issue.

Recommendation

Apply a workaround by configuring the Codex App to use a consistent path format for the workspace, such as using the \\?\ prefix, to prevent path identity drift and ensure correct project timeline matching.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix Windows Desktop: Project Timeline shows no history despite existing threads (path identity mismatch with OneDrive/GoodSync/junction/\\?\ prefix) [2 comments, 2 participants]