Skip to content

Extension Crashes on each chat message post (e is not iterable) #299554

@stevehaneytrailblazer

Description

@stevehaneytrailblazer

When posting any message in copilot chat it will take about 2-5 seconds for the message to actually appear as posted in the chat. During this lag the Copilot chat extension seems to crash and restart. See logs for what I can see in VSC Extension Host Output .

  • Copilot Chat Extension Version: 0.38.1
  • VS Code Version: 1.110.0 (Universal)
  • OS Version: Mac Tahoe 26.3 (25D125)
  • Feature (e.g. agent/edit/ask mode): Chat
  • Selected model (e.g. GPT 4.1, Claude 3.7 Sonnet): Claude Sonnet 4.6
  • Logs:
TypeError: e is not iterable
	at NTe.setItems (/Users/xxx/.vscode/extensions/github.copilot-chat-0.38.1/dist/extension.js:1065:19954)
	at hd._computeFn (/Users/xxx/.vscode/extensions/github.copilot-chat-0.38.1/dist/extension.js:1065:19693)
	at hd._recompute (/Users/xxx/.vscode/extensions/github.copilot-chat-0.38.1/dist/extension.js:1065:11922)
	at hd.get (/Users/xxx/.vscode/extensions/github.copilot-chat-0.38.1/dist/extension.js:1065:11256)
	at hd.reportChanges (/Users/xxx/.vscode/extensions/github.copilot-chat-0.38.1/dist/extension.js:1065:497)
	at PTe.endUpdate (/Users/xxx/.vscode/extensions/github.copilot-chat-0.38.1/dist/extension.js:1065:19452)
	at Mjt (/Users/xxx/.vscode/extensions/github.copilot-chat-0.38.1/dist/extension.js:1065:19170)
	at hd.recomputeInitiallyAndOnChange (/Users/xxx/.vscode/extensions/github.copilot-chat-0.38.1/dist/extension.js:1065:1092)
	at OT.init (/Users/xxx/.vscode/extensions/github.copilot-chat-0.38.1/dist/extension.js:2672:1654)
	at Timeout._onTimeout (/Users/xxx/.vscode/extensions/github.copilot-chat-0.38.1/dist/extension.js:1027:12)
	at listOnTimeout (node:internal/timers:588:17)
	at process.processTimers (node:internal/timers:523:7)```

Steps to Reproduce:

1.   Anytime I submit a message in the Copilot chat it hangs and then the extensions restart
2.  Eventually it restores the chat checkpoint and copilot responds but its laggy and crashing on every post.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions