Skip to content

Comments

bug/sessions duplicated#455

Merged
idofrizler merged 3 commits intostagingfrom
bug/sessions-duplicated
Feb 19, 2026
Merged

bug/sessions duplicated#455
idofrizler merged 3 commits intostagingfrom
bug/sessions-duplicated

Conversation

@idofrizler
Copy link
Collaborator

No description provided.

Ido Frizler and others added 3 commits February 19, 2026 15:01
Previous sessions from the SDK were not enriched with worktree data
(matched by cwd), so they weren't added to coveredWorktreePaths.
This caused standalone worktree entries to be added on top of existing
SDK sessions for the same branch.

Additionally, multiple SDK sessions pointing to the same worktree
were all shown as separate entries. Now only the most recent session
per worktree path is kept.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Tests cover:
- Enriching previous sessions with worktree data prevents standalone duplicates
- Multiple SDK sessions for the same worktree are deduplicated (keep most recent)
- Sessions with different worktree paths are not deduplicated

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@idofrizler idofrizler merged commit 8ad641d into staging Feb 19, 2026
8 checks passed
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.

1 participant