Skip to content

v7.205.10

Choose a tag to compare

@github-actions github-actions released this 26 Nov 02:24
17ebef6

Ownerless plan lock recovery

What

tryAcquireLock now recovers an empty or invalid-JSON .lck file once it is
past the lock TTL, matching the recovery behavior already shipped for the
evidence and events stores. Previously such a lock wedged every plan writer
(including /swarm reset) until a human deleted the file.

Why

A torn or empty .lck artifact (crash mid-write, truncated write, legacy
ownerless artifact) carries no owner pid, so the dead-owner breaker class
returned unknown and the acquire path never broke it. The only recovery route
was cleanupExpiredLocks, which has no production caller. Plan writers that
use tryAcquireLock directly (not via a wrapper with its own contention-loop
break) were permanently wedged.

Migration

No breaking changes. The fix adds a ttl-cleanup branch to the contention path
for ownerless payloads; fresh (within-TTL) ownerless locks still time out as
before.

7.205.10 (2026-11-26)

Bug Fixes

  • observability: repoint store_lock_stale_broken citation to :691 (e7c10f0)
  • observability: repoint store_lock_stale_broken producer citation to :688 (#3934) (4134926)
  • parallel: guard statSync in ownerless ageMs fallback; add regression tests (#3934) (c1e8342)
  • parallel: recover ownerless plan locks past TTL on acquire path (#3934) (427da81)
  • parallel: recover ownerless plan locks past TTL on acquire path (#3934) (97928ce)
  • ratchet: repoint target-constant-tmp producer citation for file-locks temp (#3934) (da1341c)
  • registry: repoint file-locks citations after comment reflow (#3934) (07163da)
  • registry: repoint file-locks citations after line shifts (#3934) (5491b65)
  • security: remove useless catch in replay-identity (biome noUselessCatch) (f3bb2eb)