codex/parallel plugin instances - #18
Merged
ketan0 merged 1 commit intoSep 19, 2026
Merged
Conversation
ketan0
added this pull request to stack #19
September 19, 2026 08:58
ketan0
marked this pull request as ready for review
September 19, 2026 18:43
ketan0
force-pushed
the
codex/parallel-plugin-instances
branch
from
September 19, 2026 21:07
26aed20 to
d47882e
Compare
thesiti92
approved these changes
Sep 19, 2026
ketan0
force-pushed
the
codex/parallel-plugin-instances
branch
from
September 19, 2026 21:20
d47882e to
d196a8c
Compare
Compile components once and bound deferred calls across files, reserving an initial-presentation instance so model latency cannot block initial folds. Serial plugins retain one instance. AI-assisted implementation with Codex.
ketan0
force-pushed
the
codex/parallel-plugin-instances
branch
from
September 19, 2026 22:54
d196a8c to
c9ea0bf
Compare
thesiti92
approved these changes
Sep 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Allow plugins declaring
parallel = trueto run deferred jobs on independent instances, with a host-ownedinstanceslimit shared across files. Opted-in plugins default to four instances; other plugins remain serial. Plugin order within a file remains sequential.Compile WASM once and lease separate stores/resources. With parallelism enabled, use a separate initial-presentation instance so busy summaries do not block initial folds. The summarizer still batches each file's folds into one request; requests overlap across files.
Validated bounded overlap, lease return after errors, initial presentation during enrichment, native/plugin integration tests, and real WASM requests: six files peaked at three concurrent requests with instances=3 versus one with instances=1.
AI-assisted implementation and review by Codex.