Commit Graph

2 Commits

Author SHA1 Message Date
NiJingzhe b0b1ae1ff2 fix(cache): make lock ownership explicit and tolerate lock timeouts
Store a unique lock token with the owning PID, refuse to reclaim locks
held by live processes, and only unlink a lock when its on-disk token
still belongs to the current context. This prevents stale recovery from
removing a replacement owner's lock.

When get_or_compute cannot acquire the key lock within policy timeout,
compute independently and publish via the existing atomic object/record
writes. Cache contention can duplicate work but no longer fails an
otherwise valid build.
2026-08-21 17:42:08 +08:00
NiJingzhe 89564ee1f5 Add durable part and assembly caching 2026-08-11 17:06:00 +08:00