Skip to content

test(browser): stubborn-stall fake Chrome writes its pid before installing signal handlers #297

Closed

Description

@ElbertePlinio

Found while auditing #282 (PR #290).

packages/browser/test/session.test.ts "preserves retry state or completes cleanup across the supervisor reap race" waits a fixed 50 ms for the stubborn-stall fake Chrome to install its signal handlers. In packages/browser/test/fakes.ts, that fake writes chrome.pid before it installs them. Under load, a signal can arrive before the handler exists and the default action kills the fake. This is the same pattern as #265. No failure has been seen yet.

  • Write the readiness marker after the handlers are installed, and wait for it instead of a fixed delay
  • Repeat-run evidence under load

Activity

  1. added
    bug
    on Oct 7, 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