Skip to content

fix(matrix): use main plugin-sdk export for KeyedAsyncQueue import#39810

Closed
reed1898 wants to merge 1 commit intoopenclaw:mainfrom
reed1898:fix/matrix-plugin-sdk-import
Closed

fix(matrix): use main plugin-sdk export for KeyedAsyncQueue import#39810
reed1898 wants to merge 1 commit intoopenclaw:mainfrom
reed1898:fix/matrix-plugin-sdk-import

Conversation

@reed1898
Copy link
Copy Markdown
Contributor

@reed1898 reed1898 commented Mar 8, 2026

Problem

Matrix plugin fails to load in Docker because send-queue.ts imports from the sub-path openclaw/plugin-sdk/keyed-async-queue, which does not exist after the Docker build.

Fixes #33266

Solution

Use the main openclaw/plugin-sdk export instead of the sub-path import. KeyedAsyncQueue is already re-exported from the main entry point.

Changes

  • extensions/matrix/src/matrix/send-queue.ts: Change import from openclaw/plugin-sdk/keyed-async-queueopenclaw/plugin-sdk

One-line fix. No behavior change for non-Docker environments.

@openclaw-barnacle openclaw-barnacle bot added channel: matrix Channel integration: matrix size: XS labels Mar 8, 2026
@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps bot commented Mar 8, 2026

Greptile Summary

This PR fixes a Docker build failure in the Matrix plugin by changing a sub-path import (openclaw/plugin-sdk/keyed-async-queue) to the main package entry point (openclaw/plugin-sdk). The sub-path was unavailable after Docker builds, causing the plugin to fail to load.

  • KeyedAsyncQueue is confirmed re-exported from the main openclaw/plugin-sdk index at src/plugin-sdk/index.ts:147, so the import is valid and functionally equivalent.
  • No behavior change for non-Docker environments; this is a pure import path correction.

Confidence Score: 5/5

  • This PR is safe to merge — it is a one-line import path fix with no behavior change.
  • KeyedAsyncQueue is explicitly re-exported from the main openclaw/plugin-sdk entry point, making this change functionally identical in all environments while also resolving the Docker-specific sub-path resolution failure.
  • No files require special attention.

Last reviewed commit: e030d62

@reed1898
Copy link
Copy Markdown
Contributor Author

reed1898 commented Mar 8, 2026

Closing as superseded by #39873 which contains the same fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

channel: matrix Channel integration: matrix size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Matrix plugin fails to load in Docker: keyed-async-queue subpath not resolved

1 participant