openclaw/apps
Peter Steinberger b5f67ac4c7
fix(shared): skip app-group identity migration when OPENCLAW_STATE_DIR is overridden (#101779)
* 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
2026-07-07 18:48:21 +01:00
..
.i18n refactor(android): remove superseded app surfaces (#101680) 2026-07-07 06:07:36 -07:00
android refactor(android): remove superseded app surfaces (#101680) 2026-07-07 06:07:36 -07:00
ios fix(ios): serialize screen recording finalization (#101550) 2026-07-07 11:13:46 +01:00
macos feat(macos): unify About links with iOS/Android (Website, Docs, GitHub, Discord) 2026-07-07 02:20:02 -07:00
macos-mlx-tts
shared/OpenClawKit fix(shared): skip app-group identity migration when OPENCLAW_STATE_DIR is overridden (#101779) 2026-07-07 18:48:21 +01:00
swabble chore(swabble): stop tracking Package.resolved clobbered by Xcode resolution (#100961) 2026-07-06 15:58:47 +01:00