Skip to content

fix(preview): isolate device sessions and avoid temp quotas - #944

Merged
nixuuu merged 1 commit into
devfrom
fix/session-device-selection
Nov 17, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/session-device-selection

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 17, 2026

Copy link
Copy Markdown
Member

Change

Device Preview previously listed every device on the worker, including devices belonging to other sessions. It now shows the current thread's device or, before reservation, free targets matching the selected platform. Daemon claims and live worker reservations also exclude devices while they start or are released.

Desktop/Device Preview now captures frames in a private OS cache directory and deletes each PNG immediately after reading, including failure paths. This avoids capture failures when a shared temporary volume reaches its per-user quota (EDQUOT, errno 122) despite having filesystem-wide free space. Catalog-only previews allocate no capture storage. Updated the behavior and status in docs/automation-tools.md.

Verification

  • 55 tests passed through scoped check:tmp runs: device catalog, device pool, Preview adapters, lifecycle, and screenshot storage/failure cleanup.
  • Worker typecheck and lint on all edited TypeScript files passed; edited files formatted and diff reviewed.
  • Independent code review found no actionable defects.
  • Full repository checks and builds are left to CI. Live capture on an updated worker remains unverified.

Fixes: #846

@nixuuu
nixuuu enabled auto-merge (squash) November 17, 2026 20:17
@nixuuu
nixuuu merged commit ec8dc4a into dev Nov 17, 2026
15 checks passed
@nixuuu
nixuuu deleted the fix/session-device-selection branch November 17, 2026 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant