Skip to content

Agents Window logs noisy customization errors during disposal #334441

Description

@copilot-swe-agent

Type of issue

Bug

Description

The Window log is flooded with errors from the Agents Window customization and task-loading paths, apparently during disposal or cancellation. This was observed in VS Code Insiders on September 3, 2026.

Representative messages:

[trace] [Window] [SyncedCustomizationBundler] Failed to stat skill resource file:///Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/sessions/skills/fix-ci/SKILL.md Object has been disposed: Error: Object has been disposed
    at WI.queue (...)
    at LVe._queueFileOperation (...)
    at async LVe.bundle (...)

This repeats for many built-in skills, including generate-run-commands and update-pr.

There are also repeated missing-file traces while expanding plugin customizations:

[trace] [Window] file not found: EntryNotFound (FileSystemError): file not found
    at Hz.stat (...)
    at Vpe.doResolveFile (...)
    at async X_i.expandPluginContents (...)
    at async vhe.provideChatSessionCustomizations (...)
    at async U9e.getSlashCommands (...)

And a canceled tasks request is logged as an error:

[error] [Network] #17: https://api.githubcopilot.com/agents/tasks?per_page=100&page=1 - error GET Canceled

Expected behavior

Expected cancellation/disposal races and missing optional customization resources should not flood the Window log with stack traces.

Actual behavior

A normal Agents Window session produces many repeated trace entries and a network error, obscuring actionable diagnostics.

Created from a Slack conversation.

Activity

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

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code InsidersverifiedVerification succeeded

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions