You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix moi env CLI tests on macOS with a MOI_DATA_DIR seam
The e2e tests isolated the data dir via XDG_DATA_HOME, which env-paths
only honors on Linux — on macOS every spawned CLI read the real
~/Library/Application Support/moi registry and exited 1 (18 failures).
Add a MOI_DATA_DIR override as the single source of the data dir
(server/data-dir.ts) and use it in the tests. Also realpath the temp
dirs: macOS tmpdir() is a symlink (/var -> /private/var) and the
spawned CLI's resolved cwd must prefix-match the registered path.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
0 commit comments