mirror of
https://github.com/openclaw/openclaw.git
synced 2026-10-03 09:39:25 +00:00
Avoid false Gateway timeout and unreachable reports during slow cold starts. Doctor, health, and status diagnostics now reuse the existing readiness owner and one monotonic deadline, preserve observed startup progress, and leave a Gateway that is still starting alone. Remove Doctor's duplicate restart polling loop. Provider usage consumes the remaining allowance, reports Timeout before dispatch when exhausted, and cancels active usage work on expiry. Preserve explicit timeouts, target/auth selection, and real process/version/build failures. Health and channel-status JSON can return a documented non-failing starting payload; consumers that need a complete snapshot must distinguish it and rerun after startup. No new configuration, flags, dependencies, or stored-data migration. Validation: 592 cases across 37 files on isolated Linux Testbox; installed-package cold-start/down-Gateway matrix and unmodified 2026.9.5 updater-to-candidate Doctor proof; focused command/transport regressions and changed-file gates. The existing independent review is scoped-clean, and ClawSweeper reports no actionable correctness finding. Thanks to @Suidge for the report and startup measurements. Fixes #152970. |
||
|---|---|---|
| .. | ||
| assets | ||
| index.test.ts | ||
| index.ts | ||
| openclaw.plugin.json | ||
| package.json | ||
| provider-catalog.test.ts | ||
| provider-catalog.ts | ||
| README.md | ||
| stream.ts | ||
| tool-schemas.test.ts | ||
| tool-schemas.ts | ||
| tsconfig.json | ||
| usage.test.ts | ||
| usage.ts | ||
ClawRouter
Managed multi-provider model routing and quota reporting for OpenClaw.
See the ClawRouter provider docs.