Problem
withPlaygroundArchiveCacheLock() represents ownership only as <version>.zip.lock/. If a process exits before its finally, that directory remains forever. Future runs cannot distinguish it from a live lock, wait 120 seconds, and fail with wordpress-archive-cache-lock.
Observed during the Intelligence v0.34.3 release with an unowned lock from 2026-07-21. Two retries failed before WordPress boot.
Expected
Archive cache locks carry owner identity, dead owners are reclaimed atomically, legacy ownerless locks are reclaimed after a conservative stale threshold, and an owner only removes its own lock.
Reproduction
- Create
~/.wordpress-playground/7.0.2.zip.lock/ with no owner process.
- Run a WP Codebox recipe targeting WordPress 7.0.2.
- Startup waits 120 seconds and fails instead of recovering the orphan.
Problem
withPlaygroundArchiveCacheLock()represents ownership only as<version>.zip.lock/. If a process exits before itsfinally, that directory remains forever. Future runs cannot distinguish it from a live lock, wait 120 seconds, and fail withwordpress-archive-cache-lock.Observed during the Intelligence v0.34.3 release with an unowned lock from 2026-07-21. Two retries failed before WordPress boot.
Expected
Archive cache locks carry owner identity, dead owners are reclaimed atomically, legacy ownerless locks are reclaimed after a conservative stale threshold, and an owner only removes its own lock.
Reproduction
~/.wordpress-playground/7.0.2.zip.lock/with no owner process.