`clawhub package publish` of a 17 KB code-plugin fails server-side: "Node.js action execution ran out of memory (maximum memory usage: 512 MB)"
Package: @preloop-ai/openclaw-plugin (family code-plugin), publishing version 0.3.0. Previous version 0.2.1 published fine through the same pipeline on 2026-08-05.
CLI: clawhub 0.23.3 (both in CI on node:22-slim and locally on macOS).
Symptom: every publish attempt ends with
Error: Uncaught Error: Node.js action execution ran out of memory (maximum memory usage: 512 MB). Reduce the amount of memory your function uses, or see https://docs.convex.dev/production/state/limits#functions to learn about Node.js action limits. (reset in 32s)The error text is Convex's action limit, so it is raised in the registry backend, not in the CLI.
Reproduction (deterministic, 3 of 3 over ~90 minutes on 2026-09-20 22:xx to 2026-09-21 00:xx UTC):
- From CI,
clawhub package publish . --family code-plugin --version 0.3.0 --source-repo preloop/preloop --source-commit 06d53f902d9a8712ea3345ae0bee9b0b8292f917 --source-path runtime-plugins/openclaw-preloop --json --no-inputafternpm publishof the same build. OOM. - Same again on a fresh CI run. OOM.
- Locally, from the tarball npm serves, so the input is exactly known:
npm pack @preloop-ai/[email protected]thenclawhub package publish ./preloop-ai-openclaw-plugin-0.3.0.tgzwith the same flags. OOM.
--dry-run on that tarball succeeds and reports "files": 7, "totalBytes": 17359. clawhub package validate . passes. The tarball is the one npm serves: sha1 aa6530bdafd71a32709c64d7845bae676e61a067 equals npm's dist.shasum. Contents: dist/index.js (21 KB), dist/index.d.ts, openclaw.plugin.json, package.json, README.md (15 KB).
clawhub package inspect @preloop-ai/openclaw-plugin still reports latestVersion: 0.2.1, so nothing partial was recorded.
Why I think it is on the registry side: the payload is tiny and unchanged in shape from 0.2.1, the same CLI version published 0.2.1 in August, and the message is a backend action limit. The publish path had several changes around 2026-09-16/17 (scanner bump to aig-skill-scan 0.2.2, publication visibility work); if the publish action now runs a scan inline, something in it may be unbounded for this input.
Happy to re-run on request or share the tarball; it is public on npm.
Source: openclaw/clawhub