Skip to content

test(cli): "the lock: a slow holder keeps the next run waiting" failed once on macOS #730

Open

Description

@eizedev

The CLI test in packages/pivotkit-cli/test/sign-in.test.js failed once on CI's macOS job with "the second run waits while the first holds the lock". This was on the 0.9.0 release commit, run https://github.com/eizedev/pivotkit/actions/runs/44967367188.

#727 rewrote the lock takeover but did not change this test. Later main runs passed. Not reproduced. Possibly a timing bound under load (see #436).

To do: run it 50 times under CPU load on macOS, then fix the cause.

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions