[PR #12032] fix: #12032 parallelize sequential async operations with Promise.all #14043

Open
opened 2026-02-16 18:18:51 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/12032

State: open
Merged: No


What does this PR do?

The big win here is for MCPs - right now we fetch tools per MCP serially. There's no risk to doing this in parallel as listTools (should be) is side-effect free

How did you verify your code works?

It builds and runs as expected

Relates to: #7979

(it doesnt actually fix it, just related, but bot is making me)

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/12032 **State:** open **Merged:** No --- ### What does this PR do? The big win here is for MCPs - right now we fetch tools per MCP serially. There's no risk to doing this in parallel as `listTools` (should be) is side-effect free ### How did you verify your code works? It builds and runs as expected Relates to: #7979 (it doesnt actually fix it, just related, but bot is making me)
yindo added the pull-request label 2026-02-16 18:18:51 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14043