Skip to content

Fix Windows reset and force-update cache cleanup - #344

Open
Salil Das (sadlilas) wants to merge 1 commit into
mainfrom
fix/windows-deferred-cache-cleanup
Open

Salil Das (sadlilas) wants to merge 1 commit into
mainfrom
fix/windows-deferred-cache-cleanup

Conversation

@sadlilas

Copy link
Copy Markdown
Collaborator

Summary

Reset and update --force now defer cache/registry cleanup until post-exit, retain reparse-point safety, and run cleanup before uv actions.

Why

On Windows, cleanup in the live process can fail because cache entries remain delete-pending. Deferring cleanup until Amplifier exits avoids that race while preserving safe handling of reparse points.

Validation

  • Focused pytest
  • Ruff
  • uv run --with truststore pytest -q (2312 passed)

Breaking changes

None.

Generated with Amplifier

Co-Authored-By: Amplifier <240397093+microsoft-amplifier@users.noreply.github.com>
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.

1 participant