Skip to content

fix(roadie): wordpress platform loads getOrCreateRuntime from runtime-registry - #971

Merged
chubes4 merged 2 commits into
mainfrom
fix/roadie-runtime-registry
Dec 5, 2026
Merged

chubes4 merged 2 commits into
mainfrom
fix/roadie-runtime-registry

Conversation

@chubes4

@chubes4 chubes4 commented Dec 5, 2026

Copy link
Copy Markdown
Member

Problem

Since @extrachill/roadie 0.95.0, getOrCreateRuntime is exported from dist/session-handler/runtime-registry.js, not thread-session-runtime.js. loadRuntimeApi() only imports the modules in RUNTIME_MODULES, so the WordPress chat platform fails to start on every boot:

[PLATFORM] wordpress failed to start: The Roadie runtime modules do not expose getOrCreateRuntime; set WP_CODING_AGENTS_ROADIE_RUNTIME_MODULE

This has been the case on the Extra Chill VPS since 0.95.0 was installed on Dec 4. /health reports failedPlatforms: [wordpress]. Discord is unaffected.

Fix

Add session-handler/runtime-registry.js to RUNTIME_MODULES.

Verification

  • On the VPS's installed Roadie 0.95.0: I called loadRuntimeApi() with the managed …/roadie/bin/roadie entrypoint. Before the fix it threw the error above; after it, getOrCreateRuntime: function.
  • Repo test: node tests/roadie-wordpress-platform.mjs passes.

AI disclosure: Claude (Anthropic) in the Pi coding agent, via a Roadie session at the maintainer's direction, wrote this.

@chubes4
chubes4 merged commit c924b9b into main Dec 5, 2026
93 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant