Codex sessions are shown in Copilot chat for every folder and as unread
Open 💬 9 comments Opened Mar 10, 2026 by claell
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of the IDE extension are you using?
latest stable
What subscription do you have?
Free
Which IDE are you using?
VS Code
What platform is your computer?
Windows x64, but seems to be irrelevant
What issue are you seeing?
This is mostly a mirror of https://github.com/microsoft/vscode/issues/300191.
As I am not sure who is responsible for this, I add it here as well for awareness, as it effectively really decreases UX a lot.
I have chats from within the normal Windows Codex app show up in my GitHub Copilot timeline (as unread, and even worse: completely regardless of the folder I work in).
What steps can reproduce the bug?
Please contact me for exact steps if required and I will be happy to provide ASAP. I am also open for video call or any other form of contact to get this sorted out ASAP!
What is the expected behavior?
_No response_
Additional information
_No response_
9 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Is this a duplicate, or at least related to #3550?
@etraut-openai, can you please look into this, and ideally triage? This bug is super annoying, and spams all other Copilot chats for me in VS Code...
I am willing to help with debugging, ...!
I did a closer pass on this (with agentic AI, so take this with a grain of salt) from both the public issues and the open-source
openai/codexrepo, and I think this is partly a Codex-side source-classification bug and partly a VS Code/Copilot UI bug.What I found on the Codex side:
openai/codexrepo,codex app-serveris wired withsession_source: SessionSource::VSCodeincodex-rs/app-server/src/lib.rs.cli+vscodeincodex-rs/core/src/rollout/mod.rs.thread/listdefaults to those interactive sources (cli,vscode) unlesssourceKindsis specified, incodex-rs/app-server/README.md.#13951that app sessions can be mislabeled asvscode.That suggests a plausible root cause here: if the Windows Codex app is using the same app-server path, app-created sessions may be persisted as
source: "vscode"(or otherwise treated as VS Code sessions), which would make them show up in the VS Code extension/Copilot session feed.Separately, the “for every folder” / “always unread again” behavior still looks like a VS Code-side issue (see
microsoft/vscode#300191), because VS Code appears to be handling visibility and unread state in a way that is not scoped well for these external sessions.So my current split is:
Possible Codex-side fix directions:
SessionSource::VSCodefor all app-server-backed clients.@etraut-openai, given that the issue is open now for about two weeks without a response, can you please look into this?
This is severely degrading usability of the chat history in VS Code.
Thank you for your work, making agentic coding better every day!
@etraut-openai another ping, as another week has passed.
Hi @etraut-openai, following up on this because the last repo-side action I can see here was the initial March 10 bot triage, and the related upstream VS Code issue clarified on April 2 that the cross-project and global session behavior likely needs a Codex-side fix. Is there an owner or next step for this on the Codex side? Thank you for improving the product every day.
Just a short info, as there is no reaction from anybody responsible, so far: A workaround is to uninstall/disable the Codex VS Code extension. Then, the Codex chats don't mess up the overall history, anymore (also previous ones disappear from there, so everything is clean again). Might not be a solution for everybody, but for me, it was really worth it!
Hi @etraut-openai, looping in @ambrosino-oai as well because this has stayed quiet despite multiple earlier pings, and it seems related to Codex app/session classification and history behavior. The last Codex-side handling action I can see is still the March 10 bot triage, while the related VS Code thread pointed the global-session behavior back to Codex. I have disabled the Codex extension as a workaround because the session history becomes unusable. Could one of you assign or route this to the right owner? Thank you for improving the Codex/VS Code experience.