Skip to content

Disambiguate duplicate session titles#959

Merged
shanselman merged 1 commit into
mainfrom
pr-955-clean
Jul 10, 2026
Merged

Disambiguate duplicate session titles#959
shanselman merged 1 commit into
mainfrom
pr-955-clean

Conversation

@shanselman

Copy link
Copy Markdown
Contributor

Closes #954.

This is the #955 app/test change set without the optional .github/workflows/ci.yml proof-summary plumbing, so it can be merged by maintainers whose token does not have workflow scope.

Summary

  • Reuse one session-title formatter across native Chat and the Sessions page.
  • Add deterministic suffixes when key-derived qualifiers still collide, without exposing raw session keys.
  • Preserve original keys for navigation and session actions.

Validation

  • Focused local test on this exact clean branch:
    • dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore --filter "SessionTitleFormatterTests|OpenClawChatDataProviderTests" — passed: 234 passed.
  • Original Disambiguate duplicate session titles #955 exact-head Windows CI passed: Shared, Tray, Connection, CLI, Integration, Functional UI, SetupEngine, Tray UI, accessibility/real-process UI proof, E2E shards, win-x64 and win-arm64 builds.

Real behavior proof

Share session-title formatting between native Chat and the Sessions page, adding deterministic disambiguation when display names collide while preserving original session keys for navigation and actions.

Co-authored-by: Andy Ye <35905412+TurboTheTurtle@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@shanselman shanselman merged commit 5caf085 into main Jul 10, 2026
19 checks passed
@shanselman shanselman deleted the pr-955-clean branch July 10, 2026 01:47
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.

Bug: Chat session names are not unique (fork creates duplicate "OpenClaw Windows Tray")

1 participant