Skip to content

sessions: temporarily disable WorktreeCreatedTaskDispatcher#317254

Merged
connor4312 merged 1 commit into
mainfrom
connor4312/disable-worktree-task-dispatcher
May 19, 2026
Merged

sessions: temporarily disable WorktreeCreatedTaskDispatcher#317254
connor4312 merged 1 commit into
mainfrom
connor4312/disable-worktree-task-dispatcher

Conversation

@connor4312
Copy link
Copy Markdown
Member

sessions: temporarily disable WorktreeCreatedTaskDispatcher

Comments out the registration of WorktreeCreatedTaskDispatcher and removes its import to
work around a bug. This is a stopgap until the underlying issue can be investigated and
fixed.

  • Comments out the registerWorkbenchContribution2 call for WorktreeCreatedTaskDispatcher
  • Removes the now-unused import

(Commit message generated by Copilot)

Comments out the registration of WorktreeCreatedTaskDispatcher and removes its import to
work around a bug. This is a stopgap until the underlying issue can be investigated and
fixed.

- Comments out the registerWorkbenchContribution2 call for WorktreeCreatedTaskDispatcher
- Removes the now-unused import

(Commit message generated by Copilot)
Copilot AI review requested due to automatic review settings May 19, 2026 06:31
@connor4312 connor4312 enabled auto-merge (squash) May 19, 2026 06:31
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Temporarily disables the WorktreeCreatedTaskDispatcher workbench contribution in the Agents (sessions) window to work around an underlying bug, by removing its registration (and the now-unused import) from the sessions chat contribution entry point.

Changes:

  • Removed the import of WorktreeCreatedTaskDispatcher.
  • Commented out its registerWorkbenchContribution2(...) registration (with a TODO note) to prevent activation.
Show a summary per file
File Description
src/vs/sessions/contrib/chat/browser/chat.contribution.ts Stops registering WorktreeCreatedTaskDispatcher and removes its unused import to temporarily disable the behavior.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 1

registerWorkbenchContribution2(SessionsOpenerParticipantContribution.ID, SessionsOpenerParticipantContribution, WorkbenchPhase.BlockStartup);
registerWorkbenchContribution2(RegisterDefaultSessionTaskRunnersContribution.ID, RegisterDefaultSessionTaskRunnersContribution, WorkbenchPhase.BlockStartup);
registerWorkbenchContribution2(WorktreeCreatedTaskDispatcher.ID, WorktreeCreatedTaskDispatcher, WorkbenchPhase.AfterRestored);
// todo@connor4312: temp until bugfix:
@connor4312 connor4312 merged commit 990e976 into main May 19, 2026
29 checks passed
@connor4312 connor4312 deleted the connor4312/disable-worktree-task-dispatcher branch May 19, 2026 06:52
@vs-code-engineering vs-code-engineering Bot added this to the 1.122.0 milestone May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants