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
{{ message }}
Repository navigation
Commit 5a2e54d
Browse filesBrowse the repository at this point in the historyBrowse files
fix(tests): LEVELCODE_HOME override + per-test isolated home preload
Root fix for the CI test matrix: bun caches os.homedir() at first use, so
HOME/USERPROFILE swapping per test did not move user-data paths after the
first caller — common's team tests leaked fixtures into the runner's real
home and collided across files (ENOTEMPTY on archive renames).
- getUserHomeDir() (common/src/utils/home-dir.ts): LEVELCODE_HOME wins over
the cached os.homedir(); env reads are live
- all user-data paths routed through it: team-fs, team-discovery,
team-maintenance, hooks loader, common getConfigDir
- test/setup-isolated-home.ts preload (wired into root + sdk bunfig):
every test gets a fresh isolated home, cleaned up automatically
- agents-console test seeds through getTeamsDir()/getTasksDir() instead of
literal home paths
0 commit comments