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 0d316a9
Browse filesBrowse the repository at this point in the historyBrowse files
test: isolate shared /tmp session-store paths in runner and health suites
The agent-runner execution fixtures handed storePath "/tmp/sessions.json" to the
real executeAgentTurn. Production resolution derives the agent database from the
store's directory, so those turns created and migrated the machine-wide
/tmp/openclaw-agent.sqlite. A stale copy of that file makes unrelated suites fail
through the real session accessor the next time OPENCLAW_AGENT_SCHEMA_VERSION is
bumped, which is the failure #132960 had to repair across 14 suites.
Route the store paths through the existing test/helpers/temp-dir tracker: the
auto-reply harness gains makeTestSessionStorePath() beside the tracked agentDir
and workspace it already owns, and the two gateway health collector suites, whose
resolveSessionStorePathCore mock made real target resolution inspect the same
shared database read-only, get their own tracked directories.
Production LOC unchanged.
0 commit comments