diff options
| author | bobcatchris <83428450+bobcatchris@users.noreply.github.com> | 2026-11-29 14:11:23 -0600 |
|---|---|---|
| committer | bobcatchris <83428450+bobcatchris@users.noreply.github.com> | 2026-11-30 05:17:51 -0600 |
| commit | d29dfbc49414142c876a8130c82b351eab990a60 (patch) | |
| tree | ccd41a4c9160b15cf2f95361a75d79ea13e3ce4d /runtime/test/cpp_unwind_test.cpp | |
| parent | d367675c705c758f731ae9eb603839a4ebb2283c (diff) | |
leonida-loader: tolerate Windows AccessDenied in publish::write_if_changed when destination already matches
On Windows, renaming a staging file over a destination already opened or
mapped by a peer runner (without FILE_SHARE_DELETE) fails with
ERROR_ACCESS_DENIED (os error 5). When the destination already holds the
exact bytes being published, remove the staging file and return Ok(()),
while continuing to propagate errors when the destination is missing or
holds different bytes.
Includes deterministic Windows unit tests for both matching and
non-matching locked destinations.
AI-assisted: Antigravity (Gemini 4 Neon)
Diffstat (limited to 'runtime/test/cpp_unwind_test.cpp')
0 files changed, 0 insertions, 0 deletions