Skip to content

[ROSETTA] Recover malformed shared hook lock files #347

Description

@isolomatov-gd

In src/hooks/src/runtime/file-coordination.ts, an empty or malformed existing lock parses to no timestamp and can never enter stale-lock reclamation. Add safe recovery after the stale interval without racing a fresh creator, and cover malformed and interrupted lock creation in tests.

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions