Describe the bug
When installing from a path the unpacking to the temp folder can be locked by virus protection software as it scans causing an error.
To Reproduce
Steps to reproduce the behavior:
Run apm install github.com/microsoft/apm-sample-package/.apm/prompts
Errors fetching prompts
Expected behavior
A backoff and retry if another process is using the files. Possibly even config to control backoff time and the retries.
Environment (please complete the following information):
- OS: Windows 11
- Python Version: 3.14.3
- APM Version: 0.7.7
Logs
⠦ Fetching prompts ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╺━━━ 90%❌ Failed to install github.com/microsoft/apm-sample-package/.apm/prompts: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\Users\*********\AppData\Local\Temp\tmpx2nxb4rr\repo'
Additional context
This is a corporate work environment which has Symantec Endpoint Protection running. I cannot circumvent the behavior and security will not approve the cli or the temp folder being excluded and there are no existing excluded locations I can set the temp folder environment variable to.
Describe the bug
When installing from a path the unpacking to the temp folder can be locked by virus protection software as it scans causing an error.
To Reproduce
Steps to reproduce the behavior:
Run
apm install github.com/microsoft/apm-sample-package/.apm/promptsErrors fetching prompts
Expected behavior
A backoff and retry if another process is using the files. Possibly even config to control backoff time and the retries.
Environment (please complete the following information):
Logs
⠦ Fetching prompts ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╺━━━ 90%❌ Failed to install github.com/microsoft/apm-sample-package/.apm/prompts: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\Users\*********\AppData\Local\Temp\tmpx2nxb4rr\repo'
Additional context
This is a corporate work environment which has Symantec Endpoint Protection running. I cannot circumvent the behavior and security will not approve the cli or the temp folder being excluded and there are no existing excluded locations I can set the temp folder environment variable to.