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
test: session-status dead pid and in-session destroy fail locally on main #490
Two tests fail on main on one Linux host, while CI on main is green. Found while validating #380. They failed the same way in two runs of a clean checkout of main at 1e47716.
packages/cli/test/session-status.test.ts "reports dead when a running desktop session pid is gone": the CLI exits 1 (expect(json.code).toBe(0) at line 97). The same command run by hand, with the same kind of record in a temporary PICKFORGE_HOME, exits 0 and reports dead.
packages/desktop-linux/test/isolation.test.ts "survives session destroy run from inside the session": the report file never appears within 60 s (line 356).
Run with PICKFORGE_TEST_ALLOW_REAL_HOME_CHANGES=1 bunx vitest run packages/cli/test/session-status.test.ts packages/desktop-linux/test/isolation.test.ts. The realtime limit on the host was 200000, not 0. The host had many leftover /tmp/.X*-lock files from earlier test runs; whether they matter is not known.
Find what the test environment does differently from the hand run in session-status
Find why the in-session destroy never writes its report on this host
Fix the tests or the code, and add the host condition to AGENTS.md if it is environmental
Activity