[critical] `Codebase` stops GitHub Copilot Restore Checkpoint from working; history corrupted

Open
#320,828 8 comments 0 reactions 1 assignee View on GitHub

@justschen is already working on this.

Since Jun 10, 2026.

Assessment

This issue has not been assessed yet.

Description

In a request, somehow Codebase got attached to the request. Now GitHub Copilot says:

To get more relevant Chat results, we need permission to read the contents of your repository on GitHub.

And stops for me to indicate Grant, Not Now, or Never Ask Again.

Unfortunately I tried to edit the prompt and resubmit, and it duplicated prompt and asked again to read the contents of my GitHub repository!

Image

Worse, Restore Checkpoint no longer works. If I try to restore the checkpoint to the point before this particular prompt, none of the prompts and responses are removed (although that previous prompt is copied to the request field, as if the history had been restored to a checkpoint).

This may or may not be related to #319225.

Version: 1.124.0 (user setup)
Commit: 1b50d58d73426c9171299ec4037d01365d995b78
Date: 2026-06-09T21:29:32-07:00
Electron: 42.2.0
ElectronBuildId: 14159160
Chromium: 148.0.7778.97
Node.js: 24.15.0
V8: 14.8.178.14-electron.0
OS: Windows_NT x64 10.0.26200
Dominant language
TypeScript
Stars
193k
Forks
42.9k
PR merge metrics
PR metrics pending

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/vscode

All issues in microsoft/vscode

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.