Skip to content

Renaming a session requires reload #318442

Description

Only seems to happen in VS Code editor window rather than Agents window:

  • Right click a chat session in list, rename, set a new name, enter
  • ❓ New name doesn't appear
  • I have to reload VS Code for the new name to appear

Activity

  1. bamurtaugh commented on May 26, 2026

    @bamurtaugh
    MemberAuthor

    I also found that the new name is lost if I fork the session:

    • Click on one of my renamed sessions
    • Fork it
    • ❓ The session reverts to its previous name, and the Forked: ... title of the forked session is based on the previous name
  2. katipally commented on May 29, 2026

    @katipally

    PR #318667 addresses the reload requirement bug.

    Root cause was two separate issues:

    • Bug A (history sessions): refresh() only tracked newly added items, not updated ones. Title changes on history sessions never triggered _onDidChangeChatSessionItems. Fixed by detecting label changes via isEqual(), plus a new onDidChangeChatSessionTitle event on IChatService for history sessions.
    • Bug B (persistence): renameChat() was calling setSessionTitle() (sync, in-memory only) instead of setChatSessionTitle() (async, writes to _chatSessionStore). On reload the old title returned because nothing was written to disk.

    Note: The fork-session name revert mentioned by Brigit Murtaugh (@bamurtaugh) is a separate issue not covered by this PR.

  3. added
    bug
    on Jun 8, 2026
  4. xguarch commented on Aug 21, 2026

    @xguarch

    Hi Justin Chen (@justschen), will this be fixed any time soon? This keeps happening with latest release version:

    Version: 1.134.0 (Universal)
    Commit: 110a328
    Date: 2026-08-18T18:24:44Z
    Electron: 42.8.1
    ElectronBuildId: 14906494
    Chromium: 148.0.7778.280
    Node.js: 24.18.1
    V8: 14.8.178.38-electron.0
    @github/copilot: 1.0.81-0
    @github/copilot-sdk: 1.0.11
    OS: 110a328 (macOS)

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

Metadata

Metadata

Labels

bug

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions