Skip to content

Conversation

@TylerLeonhardt
Copy link
Member

due to linking

Copilot AI review requested due to automatic review settings January 23, 2026 23:08
@vs-code-engineering vs-code-engineering bot added this to the January 2026 milestone Jan 23, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes Claude session history reconstruction when the transcript contains system/meta entries that don’t include a message field, which previously broke parent-chain traversal and caused older messages to be omitted.

Changes:

  • Treat JSONL entries that have uuid/parentUuid but no message as meta/link-only nodes so they can be used for chain resolution but filtered from output.
  • Add a unit test covering parent-chain continuity through such system messages.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/extension/agents/claude/node/claudeCodeSessionService.ts Adds parsing support for link-only (no message) transcript entries to preserve parent-chain continuity.
src/extension/agents/claude/node/test/claudeCodeSessionService.spec.ts Adds coverage for system messages without message fields to ensure session history remains intact.

joshspicer
joshspicer previously approved these changes Jan 23, 2026
@TylerLeonhardt TylerLeonhardt added this pull request to the merge queue Jan 25, 2026
Merged via the queue into main with commit beb172e Jan 25, 2026
19 checks passed
@TylerLeonhardt TylerLeonhardt deleted the tyler/western-hawk branch January 25, 2026 08:10
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.

4 participants