mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-09 15:59:30 +00:00
* fix(shared): skip app-group identity migration when OPENCLAW_STATE_DIR is overridden An unentitled process (mac app, swift test runners) with a fresh state dir imported the machine's real app-group device identity and auth tokens into any explicitly overridden state dir, violating the documented legacy-fallback contract. On developer Macs this leaked real operator/node device tokens into per-test temp state dirs, breaking the nil-token expectations in GatewayNodeSessionTests (non bootstrap hello / untrusted bootstrap hello) for local swift test runs while clean CI passed. Migration now requires no OPENCLAW_STATE_DIR override, with a regression test. StateDirectoryIsolationTrait owns per-test state-dir pinning (fresh temp dir per gated test, env restored to launch value or a run-scoped quarantine dir, never unset), replacing the hand-rolled setenv/defer boilerplate in every gated test. * test(shared): remove redundant throws annotations |
||
|---|---|---|
| .. | ||
| .i18n | ||
| android | ||
| ios | ||
| macos | ||
| macos-mlx-tts | ||
| shared/OpenClawKit | ||
| swabble | ||