<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Faris Khasawneh</title>
    <description>The latest articles on DEV Community by Faris Khasawneh (@5a9awneh).</description>
    <link>https://dev.to/5a9awneh</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3936009%2F753641cd-dac4-4376-b847-044151e2fefb.jpeg</url>
      <title>DEV Community: Faris Khasawneh</title>
      <link>https://dev.to/5a9awneh</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/5a9awneh"/>
    <language>en</language>
    <item>
      <title>VS Code is silently losing your Copilot chat history — here's why and how to get it back</title>
      <dc:creator>Faris Khasawneh</dc:creator>
      <pubDate>Sun, 17 May 2026 09:44:17 +0000</pubDate>
      <link>https://dev.to/5a9awneh/vs-code-is-silently-losing-your-copilot-chat-history-heres-why-and-how-to-get-it-back-440l</link>
      <guid>https://dev.to/5a9awneh/vs-code-is-silently-losing-your-copilot-chat-history-heres-why-and-how-to-get-it-back-440l</guid>
      <description>&lt;h3&gt;
  
  
  The Problem
&lt;/h3&gt;

&lt;p&gt;VS Code stores Copilot chat sessions under &lt;code&gt;workspaceStorage/&amp;lt;hash/chatSessions/&lt;/code&gt;. That hash is derived from your workspace folder URI. The moment you rename or move the folder — routine project hygiene — VS Code opens under a new hash. Every prior chat session becomes invisible in the UI. No warning. No recovery path.&lt;/p&gt;

&lt;p&gt;The data is still there. VS Code just can't see it anymore.&lt;/p&gt;

&lt;h3&gt;
  
  
  Why It's Non-Trivial to Fix Manually
&lt;/h3&gt;

&lt;p&gt;Each &lt;code&gt;workspaceStorage/&amp;lt;hash/workspace.json&lt;/code&gt; holds the original folder URI. The chat sessions are stored as JSONL files — fully self-contained, no workspace context needed to render them. Orphan detection is a single existence check per entry. Yet VS Code has no built-in mechanism for any of this.&lt;/p&gt;

&lt;h3&gt;
  
  
  What I Built
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://github.com/5a9awneh/Browse-CopilotChats" rel="noopener noreferrer"&gt;Browse-CopilotChats&lt;/a&gt; — a barebones tool to locate and browse these orphaned sessions directly from the JSONL files. It's a stopgap while the native fix doesn't exist.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Feature Request
&lt;/h3&gt;

&lt;p&gt;I filed &lt;a href="https://github.com/microsoft/vscode/issues/305818" rel="noopener noreferrer"&gt;VS Code issue #305818&lt;/a&gt; proposing: startup orphan detection, a browsable panel for orphaned sessions with a ⚠️ indicator, and re-linking when you open a folder matching an orphaned workspace name.&lt;/p&gt;

&lt;p&gt;It needs &lt;strong&gt;20 upvotes (👍 reaction on the GitHub issue)&lt;/strong&gt; within &lt;strong&gt;10 days&lt;/strong&gt; to enter the official backlog. Currently short.&lt;/p&gt;

&lt;p&gt;If you've lost Copilot context this way, a reaction on the issue is the fastest path to a real fix.&lt;/p&gt;

</description>
      <category>vscode</category>
      <category>githubcopilot</category>
      <category>productivity</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
