Repository navigation
Description
In a resumed Copilot session, explicitly opening a previously used Canvas (for example, Chess) succeeds in the runtime but does not display it in VS Code. It also remains absent from the activity-bar Canvas menu, although its definition appears in the editor + → Canvas menu.
Expected: Explicitly reopening the Canvas displays it and adds it to the active Canvas list. Merely resuming the session should not automatically reopen old Canvases.
Steps to Reproduce:
- Open a Canvas in an Agents-window Copilot session, then resume that session with its saved Canvas state.
- Select the same Canvas from the editor + → Canvas menu. Observe that it does not appear.
Environment and investigation
- Copilot Chat Extension Version: N/A; Agent Host Copilot runtime.
- VS Code Version: Reproduced on
main; fix based on2bc7d5ab691(Code OSS 1.144.0 development sources). - OS Version: macOS; exact version not recorded.
- Feature (e.g. agent/edit/ask mode): Agents window, Agent Host Canvases.
- Selected model (e.g. GPT 4.1, Claude 3.7 Sonnet): N/A; explicit Canvas opening does not require a model turn.
- Logs: Live inspection showed the instance was open in the runtime but marked
ignoredAsRestored: trueandprojected: false. The Chess provider initialized successfully and its assets returned HTTP 200.
Resume suppresses unprojected restored Canvas instances to avoid automatically displaying old URLs. An explicit open did not account for that suppression, so its opened event was discarded. This is independent of the Canvas-management UI changes in #340458; the two menus intentionally distinguish available definitions from active instances.
Fix: #343706. Regression coverage includes event/RPC ordering, concurrent user messages, closed/unavailable events, and failed-open retries.
🤖 Written by GitHub Copilot on behalf of Joaquín Ruales (@jruales).
Activity
vs-code-engineering commentedon Oct 23, 2026
Thanks for creating this issue! It looks like you may be using an old version of VS Code; the latest stable release is 1.143.1. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!