Skip to content

fix: load dashboard when only non-VS Code harness logs exist (Claude/Codex/OpenCode)#53

Open
bryantharpe wants to merge 1 commit into
microsoft:mainfrom
bryantharpe:fix/external-harness-only-discovery
Open

fix: load dashboard when only non-VS Code harness logs exist (Claude/Codex/OpenCode)#53
bryantharpe wants to merge 1 commit into
microsoft:mainfrom
bryantharpe:fix/external-harness-only-discovery

Conversation

@bryantharpe
Copy link
Copy Markdown

The dashboard's load gate aborts with "No Copilot chat log directories found" when findLogsDirs() is empty, but that only scans VS Code workspace storage and Copilot paths. The Claude Code / Codex / OpenCode collectors run in the parse worker independently of that list, so a host with only ~/.claude/projects (e.g. a headless Remote-SSH machine, Claude Code used from the terminal, no VS Code workspace storage) never loads despite valid sessions.

Adds hasExternalHarnessSources(), gates on it so the panel aborts only when no source of any kind is present, and updates the Copilot-specific empty-state message to reflect all supported sources. Validated against 133 real Claude Code sessions discovered with zero VS Code directories present.

Fixes #52

Checklist

  • npm run check passes (typecheck + lint + spellcheck + knip + tests)
  • Changes are covered by tests (new parser-harnesses.test.ts)
  • Documentation updated (n/a)

findLogsDirs() scans only VS Code workspace storage and Copilot
directories, so the dashboard's load gate aborts with "No Copilot chat
log directories found" whenever those are absent. But the Claude Code /
Codex / OpenCode collectors run in the parse worker independently of that
list, so a host with only ~/.claude/projects (e.g. a headless Remote-SSH
machine with no VS Code workspace storage) never loads despite having
valid sessions.

Add hasExternalHarnessSources() and gate on it so the panel only aborts
when no source of any kind is present. Update the Copilot-specific
empty-state message to reflect all supported sources.
@bryantharpe
Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dashboard fails with "No Copilot chat log directories found" when only Claude Code / Codex / OpenCode logs exist

1 participant