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
android: serialize teardown and log retention per session #321
Desktop and browser teardown call retainSessionLogs inside withSessionVncLock, so retains for one session id run one at a time. Android-only teardown (retainAndroidOnlyLogs in packages/android/src/session.ts) holds no such lock. So a reaper teardown and a user destroy of the same Android session can retain at the same time.
PR #319 keeps a stopped.json temp whose writer pid is alive, so overlapping retains no longer fail. That pid check is now the only defense. If a live process reuses a dead writer's pid, the orphan temp stays and blocks pruning of that session.
Serialize Android-only teardown and retention per session, like desktop and browser teardown
Test: overlapping destroys of one Android session both succeed and leave one stopped.json
Activity