Skip to content

test(desktop-linux): viewer-state tests flake and leave temp dirs in the repo #263

Closed

Description

@ElbertePlinio

Found while fixing #252 (PR #256) and investigating #253.

packages/desktop-linux/test/viewer-state.test.ts "stops surviving browser children with kill after their group leader exits" failed twice under two concurrent full suites. The file also creates its temp root under process.cwd(), the repo root. When a worker dies, a .viewer-state-test-* directory stays in the checkout.

  • Find and fix the failure under concurrent suites
  • Create the temp root under the OS temp directory

Activity

  1. added
    bug
    on Oct 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions