openclaw/test
Peter Steinberger 83ebbcb3ac
fix(crabbox): retry cold metadata probes so a slow run --help does not block validation (#102159)
The wrapper probes `crabbox --version` and `crabbox run --help` once each with a
snappy 5s timeout to enumerate providers before delegating. A cold Crabbox — the
first call right after a version bump, or one on a loaded machine — can exceed
that timeout while rendering `run --help` (52KB, emitted on stderr in 0.36) or
doing first-run init, and can emit nothing on that first call. When that happens
both guards fire and hard-exit the wrapper ("selected binary failed basic
--version/--help sanity checks" or "could not parse provider list from --help;
refusing to run"), which blocks ALL remote validation (`pnpm check:changed`,
remote `pnpm test` lanes) even though the binary is fine.

Retry each metadata probe once with a generous 20s timeout when the first attempt
is killed or returns empty. The warm path is unchanged (one ~instant probe); only
a slow/empty first probe pays for the retry, after which the sanity/provider-list
guards judge the recovered result. Add a regression test: a fake Crabbox whose
`run --help` is slower than the default probe timeout (and, like 0.36, writes help
to stderr) is now recovered by the retry instead of hard-failing.
2026-07-08 12:53:48 +01:00
..
e2e/qa-lab refactor(deadcode): localize test and tooling helpers (#101875) 2026-07-07 13:45:26 -07:00
fixtures feat(cron): event triggers — polled condition-watcher scripts via code mode (#101195) 2026-07-07 19:12:38 +01:00
helpers refactor(deadcode): localize test and tooling helpers (#101875) 2026-07-07 13:45:26 -07:00
mocks
proof
scripts fix(crabbox): retry cold metadata probes so a slow run --help does not block validation (#102159) 2026-07-08 12:53:48 +01:00
tsconfig feat: refactor the Control UI architecture 2026-07-04 23:19:38 +01:00
vitest refactor(deadcode): localize test and tooling helpers (#101875) 2026-07-07 13:45:26 -07:00
_proof_twilio_json_guard.mts fix(sms): guard Twilio JSON.parse against malformed API response bodies (#97999) 2026-06-30 18:15:08 -07:00
AGENTS.md
appcast.test.ts
architecture-smells.test.ts
CLAUDE.md
cli-json-stdout.e2e.test.ts
extension-import-boundaries.test.ts
extension-package-tsc-boundary.test.ts
extension-test-boundary.test.ts
gateway.multi.e2e.test.ts
git-hooks-pre-commit.test.ts fix(git-hooks): skip sequencer pre-commit formatting (#95842) 2026-06-25 16:40:12 +08:00
global-setup.ts
huggingface-local-app-openclaw.e2e.test.ts chore(cli): cover HF local app flow (#100887) 2026-07-06 15:25:30 +02:00
image-generation.infer-cli.live.test.ts
image-generation.runtime.live.test.ts
non-isolated-runner.ts
npm-publish-plan.test.ts feat: publish plugins with extended-stable releases (#100448) 2026-07-05 16:16:26 -07:00
official-channel-catalog.test.ts chore: sync yuanbao plugin catalog to 2.15.0 (#94470) 2026-06-22 18:50:07 +00:00
openclaw-launcher.e2e.test.ts fix: reject incompatible Node 23 runtimes (#99832) 2026-07-04 00:03:49 -07:00
openclaw-npm-postpublish-verify.test.ts fix(plugin-sdk): align speech runtime packaging (#89899) 2026-07-07 07:38:41 +01:00
openclaw-npm-prepublish-verify.test.ts refactor: extract reusable AI runtime package (#99059) 2026-07-05 01:56:40 -04:00
openclaw-npm-release-check.test.ts
openclaw-prepack.test.ts fix(release): preserve npm pack json output 2026-06-24 09:19:00 +02:00
package-manager-config.test.ts perf(test): unit-test crabbox provider aliases 2026-07-06 14:52:53 -04:00
package-scripts.test.ts fix(build): fall back to tsx for build TypeScript scripts (#91262) 2026-07-06 06:55:20 +00:00
plugin-clawhub-release.test.ts test: speed up and stabilize full suite 2026-07-05 08:00:23 -04:00
plugin-extension-import-boundary.test.ts
plugin-npm-package-manifest.test.ts
plugin-npm-release.test.ts feat: publish plugins with extended-stable releases (#100448) 2026-07-05 16:16:26 -07:00
plugin-npm-runtime-build.test.ts feat(tencent): add Tencent Hy3 provider (TokenHub and TokenPlan) (#99076) 2026-07-06 04:29:48 +00:00
qa-convex-credential-payload-validation.test.ts fix(qa): use valid Convex module filename 2026-07-07 15:04:53 -05:00
release-check.test.ts fix(plugin-sdk): align speech runtime packaging (#89899) 2026-07-07 07:38:41 +01:00
setup-home-isolation.test.ts
setup-openclaw-runtime.ts refactor(plugins): require initialized registry collections (#100990) 2026-07-06 10:25:22 -07:00
setup.env.ts fix(test): unit-fast tests inherit live host config (#100221) 2026-07-05 10:06:53 -07:00
setup.extensions.ts
setup.shared.ts
setup.ts
stable-release-closeout.test.ts
test-env.test.ts fix(test): skip live auth browser caches (#91907) 2026-07-06 18:57:48 +01:00
test-env.ts fix(test): skip live auth browser caches (#91907) 2026-07-06 18:57:48 +01:00
test-helper-extension-import-boundary.test.ts
tsconfig.json
ui.presenter-next-run.test.ts feat: refactor the Control UI architecture 2026-07-04 23:19:38 +01:00
vitest-boundary-config.test.ts
vitest-light-paths.test.ts
vitest-performance-config.test.ts
vitest-projects-config.test.ts feat: refactor the Control UI architecture 2026-07-04 23:19:38 +01:00
vitest-scoped-config.test.ts feat: refactor the Control UI architecture 2026-07-04 23:19:38 +01:00
vitest-ui-package-config.test.ts
vitest-unit-config.test.ts
vitest-unit-fast-config.test.ts fix(test): unit-fast tests inherit live host config (#100221) 2026-07-05 10:06:53 -07:00
vitest-unit-paths.test.ts
web-provider-boundary.test.ts