Skip to content

fix: serialize readonly mount cache retention - #2383

Merged
chubes4 merged 1 commit into
mainfrom
fix-2382-readonly-cache-lock
Aug 25, 2026
Merged

fix: serialize readonly mount cache retention#2383
chubes4 merged 1 commit into
mainfrom
fix-2382-readonly-cache-lock

Conversation

@chubes4

@chubes4 chubes4 commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • use one cache-root lock for readonly snapshot creation, retention, and cloning
  • prevent retention for one fingerprint from evicting another parallel mount's active cache entry
  • cover twelve unique parallel mounts, exceeding the eight-entry retention limit

Verification

  • npm exec -- tsx tests/playground-readonly-mounts.test.ts
  • npm run build
  • full released Gardner recipe completed successfully: run run_8cc6c2afdd3b43feae01ccd4b5683044, runtime runtime-mt8rh00m-p0b89z

Fixes #2382

@chubes4
chubes4 merged commit bdcd997 into main Aug 25, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Readonly mount cache retention races parallel mount staging

1 participant