Repository navigation
Conversation
… and skills The first turn invokes workspace.memory and workspace.skills together, and both handlers lazily imported the same node-host module. When the plugin loads from TypeScript source, two concurrent on-demand imports of that module can race: the second caller received it before its imports were bound and failed with "Cannot read properties of undefined (reading 'readWorkspaceSkillsRequest')". Built dist output uses static chunk imports and is unaffected. Load the module once through the SDK lazy-runtime loader. Unlike the release-line helper, a rejected load stays cached (createLazyRuntimeModule semantics); a bundled local module that fails to import fails permanently anyway. The loader-level race remains a follow-up. Forward-port of d562323 from release/2026.10.10.
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
Member
Author
|
Closing this split as already fixed on main by #174252 ( Independent verification traced both plugin loaders to that owner and ran the preserved |
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.
Problem
Concurrent memory and skills commands can race while importing the same workspace command module.
Solution
Use the existing SDK createLazyRuntimeModule owner for one shared import. No new loader or public API.
Independent split of #191830, directly against
main; no sibling PR is required. Original release provenance is preserved in commit bodies. Scope excludes every other forward-port group.Evidence
Reviewed candidate:
981ff366df913e6ce7509bed02349f80c41eccb5.