mirror of
https://github.com/openclaw/openclaw.git
synced 2026-10-03 09:39:25 +00:00
Tests across ACP abort-cause, cron command running, the Windows Startup-fallback environment, the Gmail watcher, link-understanding transport, secrets resolution, install policy, the skills library persistence, and the worker runtime polled PID/marker files and the process table or raced child completion against fixed timers, so a fixture child that outlasted the bound on a loaded host failed the test. The test owner now supplies readiness and completion through retained IPC/close promises, existing fixture receipts, or the worker's idle-ready callback; durable PID/profile records are written before a receipt wherever operation settlement can win the transport race. The shared src/test-utils/process-tree.ts forking fixture reports readiness through a fixture receipt (both callers updated), and an unused local PID-file polling helper is removed. Five files keep one deadline-free, signal-bound exact-PID check where the cleanup owner exposes no adopted-descendant reap promise. Native-platform waits without native proof here, release-file barriers that need a host-to-child release channel, and existing TERM/KILL rescue escalations stay unchanged. No product source, test timeout, product timeout, or assertion meaning changed. Part of the polling audit from #162274. Proof on Blacksmith Testbox: nine delayed-work original-fail/candidate-pass pairs, four forced-abort cleanup probes, 220 standalone runs, 27/27 Node owner-shard replays, Gateway E2E shards 2/4 and 3/4 3/3 each on the rebased head, tsgo core and core-test, OpenGrep, type-aware lint, base-aware timeout-race ratchet; Codex autoreview clean. |
||
|---|---|---|
| .. | ||
| oxlint | ||
| tsconfig | ||
| assertion-safety-baseline.txt | ||
| ci-test-timings.json | ||
| control-ui-startup-budget-baseline.json | ||
| env-var-count-budget.txt | ||
| knip.all-exports.config.ts | ||
| knip.config.ts | ||
| knip.scripts-exports.config.ts | ||
| markdownlint-cli2.jsonc | ||
| markdownlint-templates.jsonc | ||
| max-lines-baseline.txt | ||
| shellcheckrc | ||
| stylelint.config.mjs | ||
| swiftformat | ||
| swiftlint.yml | ||
| test-timeout-race-baseline.txt | ||