You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
apple-runner: a cache rebuild must not delete a runner artifact other sessions are reading #4886
Follow-up from #4880 (#4689). Prepare can still delete the shared runner cache-<key> while another session's first open is reading it. After #4880 this happens only after a restored runner is indicted twice, or once when the first attempt spent the whole prepare deadline. On a loaded host those cases can still be slow boots, not corruption.
Required behavior
A clean or forced rebuild of a shared runner artifact must not remove files another live session is reading or launching from.
Use one owner for this (for example reader leases on the cache entry, or build-new-then-swap), not per-call checks.
A regression: two sessions on one cache-<key>; one indicts and rebuilds while the other is mid-launch; the other's launch is unaffected.
The issue reports existing broken behavior: a clean or forced runner cache rebuild can delete a shared cache- while another session is reading or launching from it. It provides concrete conditions, required behavior, and a regression scenario, so a maintainer could act on it.
Activity
apex-sentinel-staging commentedon Nov 21, 2026
Apex Sentinel · Issue review
Suggested label:
bugThe issue reports existing broken behavior: a clean or forced runner cache rebuild can delete a shared cache- while another session is reading or launching from it. It provides concrete conditions, required behavior, and a regression scenario, so a maintainer could act on it.
Required sections
fix(apple-runner): keep runner trees another session may read through…
fix(apple-runner): keep runner trees another session may read through…
fix(apple-runner): keep runner trees another session may read through…
fix(apple-runner): keep runner trees another session may read through…
fix(apple-runner): keep runner trees another session may read through…
fix(apple-runner): keep runner trees another session may read through…