fix(openclaw-plugin): recommend indexnetwork fork of railway template#651
fix(openclaw-plugin): recommend indexnetwork fork of railway template#651yanekyuk wants to merge 1 commit intoindexnetwork:devfrom
Conversation
The upstream arjunkomath/openclaw-railway-template has two bugs that break webhook delivery on Railway (global express.json() eats proxied bodies; gatewayProc handle is lost after SIGUSR1 self-restart, stranding the wrapper on 503). The fork indexnetwork/openclaw-railway-template carries both fixes. Replace the "broken" gotcha block with a pointer to the fork.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe README documentation in the openclaw-plugin package is updated to replace outdated Railway template guidance with a recommendation for an improved fork that fixes JSON body consumption and wrapper state issues affecting webhook HMAC verification and service readiness. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Closing: we've decided to abandon the indexnetwork/openclaw-railway-template fork approach. The fork itself is being deleted from the indexnetwork org. The upstream arjunkomath/openclaw-railway-template gotcha block on dev remains in place — that's the correct warning for now until a better path (upstream PR, or a fully-configured Station template) lands. |
Summary
The upstream
arjunkomath/openclaw-railway-templatehas two bugs insrc/server.jsthat break webhook delivery on Railway, and the plugin previously carried a long "known gotcha" callout describing them. The forkindexnetwork/openclaw-railway-templatenow carries both fixes, so this PR replaces the gotcha block with a short "Recommended Railway template" pointer to the fork.Bug Fixes
packages/openclaw-plugin/README.md— replace thearjunkomath/openclaw-railway-templatebroken-template callout with a recommendation to useindexnetwork/openclaw-railway-template. The fork's deltas vs. upstream:express.json()is scoped to/setup/apiso proxied request bodies reach the gateway intact (fixes the HMAC401 invalid signatureon/index-network/webhook).gatewayExternallyHealthyflag soSIGUSR1self-restarts by OpenClaw don't strand the wrapper serving503s on every HTTP request (WebSocket upgrades kept working because they skip the readiness check, which is why the dashboard looked fine).Test plan
indexnetwork/openclaw-railway-templatefork on Railway.webhookUrl/webhookSecreton the plugin and dispatch a negotiation.curl -i https://<url>/index-network/webhookreturns401 invalid signature(proof the route is reachable).negotiation.turn_receiveddelivery is acknowledged by the plugin and the subagent fires.SIGUSR1) does not leave the wrapper serving503on subsequent HTTP requests.Summary by CodeRabbit
Documentation