mirror of
https://github.com/openclaw/openclaw.git
synced 2026-10-03 17:53:39 +00:00
An in-place update replaces the package's hashed chunks while the old Gateway is still running. Shutdown then lazily imported cleanup modules that no longer existed: 2026.9.6 exited with ERR_MODULE_NOT_FOUND for the transcript capture-operations chunk, and other teardown paths (MCP runtime retirement, provider local services, browser relay and Chrome MCP, worker temp-artifact cleanup) had the same hazard. Cleanup owners are now retained when their resources are created, so teardown never first-imports code. Transcript capture ownership moves into the eagerly loaded capture-startup module, and shutdown persists heuristic notes without starting optional model inference. Provider local services register their stop callback when they start. MCP cleanup has a lightweight owner module. Browser teardown peeks the lazy accessors that production ingress loads. The worker pool preloads artifact cleanup in its async preparation step before creating resources, which keeps chalk/tslog out of the native hook relay's static graph. The provider-runtime-lifecycle stable tsdown entry stays, because published-update compatibility bridges map older hashed chunks onto it, and Knip treats it as an entry. Protection applies to updates from a release containing this change; older running Gateways keep the limitation, as docs/install/updating.md describes. Proof: a built-runtime smoke removed 7,011 hashed chunks after startup and still shut down cleanly (exit 0, 6.3 s). Focused shutdown, transcript, worker-pool, browser and MCP suites pass, along with core types, import-cycle checks, Knip and the CLI bootstrap guard. Codex autoreview is scoped-clean. The final CI failures were main-side inventory breaks (wrapper components, suppression count), fixed on main by |
||
|---|---|---|
| .. | ||
| docker | ||
| updating | ||
| ansible.md | ||
| azure.md | ||
| backups.md | ||
| bun-compatibility.md | ||
| bun.md | ||
| cloudflare.md | ||
| daytona.md | ||
| development-channels.md | ||
| digitalocean.md | ||
| docker-vm-runtime.md | ||
| docker.md | ||
| exe-dev.md | ||
| fly.md | ||
| gcp.md | ||
| hetzner.md | ||
| hostinger.md | ||
| index.md | ||
| installer.md | ||
| kubernetes.md | ||
| macos-vm.md | ||
| migrating-claude.md | ||
| migrating-hermes.md | ||
| migrating.md | ||
| nix.md | ||
| node-compatibility.md | ||
| node.md | ||
| northflank.mdx | ||
| oracle.md | ||
| podman.md | ||
| railway.mdx | ||
| raspberry-pi.md | ||
| render.mdx | ||
| uninstall.md | ||
| update-troubleshooting.md | ||
| updating.md | ||
| upstash.md | ||