Skip to content

Investigate intermittent concurrent restart leaving two live servers #63

Open

Description

@rore

During PR #62 CI on unchanged lifecycle code, test/restart-race.test.js:68 failed intermittently: concurrent restarts with different configurations left two live servers instead of only the registered one.

Evidence: https://github.com/rore/minimap/actions/runs/39227099256/attempts/1

Attempt 0: both restart commands exited 0; live ports were [47000, 47001]; the registry selected 47001. The scenario seeds a stale restart.lock before concurrent launch. An unchanged CI rerun passed the full unit suite, so recurrence is not deterministic.

Investigate stale-lock acquisition/reclamation and restart serialization in an isolated MINIMAP_HOME. Retain the existing assertion; add deterministic race coverage if a defect is confirmed. Do not experiment against the user's shared service or registry. No live failure was established by this test.

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