[BUG] session not getting indexed
Open 💬 2 comments Opened Jul 1, 2026 by Zeem711
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
one of my sessions is not getting indexed which i was working on in the afternoon.Its very important to me please help. here is the session id - 8985be7a-fa5e-4a59-ae9f-06ad479f400c
What Should Happen?
it should be showing my session as usual so that i could continue my project.
Error Messages/Logs
heres what claude said -**** Found it — the transcript file is real and intact: 2016 lines, starts with "u can design 3d websites right?" (June 23), and the actual conversation content is all there. It's just not being picked up by the app's session-list index — a display bug, not lost data.
One thing that stood out: the very last exchange in that file involves a Bash command outputting a device authorization one-time code ("First copy your one-time code: ..."), and the file's final line looks truncated/blank. That suggests the session ended abruptly mid-command (possibly during some auth flow, like `gh auth login` or similar) rather than being closed cleanly — which is plausibly why it never got properly indexed into your session list.
I don't have a tool that can rebuild or force-reindex the app's session list from here — that's internal to the Claude Code app, not something exposed to me. Two options:
1. **Restart the Claude Code app fully** (not just this session) — indexes sometimes only refresh on launch.
2. If it's still missing after that, this is worth filing as a bug via `/help` → https://github.com/anthropics/claude-code/issues, mentioning the session ID `8985be7a-fa5e-4a59-ae9f-06ad479f400c` so they can look at why an abrupt/mid-command ending kept it out of the index.
Either way — your session work itself is completely safe, both on disk and in that transcript file, so nothing's actually lost. ****
Steps to Reproduce
happening to me for the first time :( i dont know how to recreate it.
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
1.7377.1(2b3ab4)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗