Skip to content

Detect temp file deletion by dnx tool and re-download#56

Merged
kzu merged 1 commit intomainfrom
dev/redownload
Mar 5, 2026
Merged

Detect temp file deletion by dnx tool and re-download#56
kzu merged 1 commit intomainfrom
dev/redownload

Conversation

@kzu
Copy link
Member

@kzu kzu commented Mar 5, 2026

Detect temp file deletion by dnx tool and re-download

Since we use the same temp location for files as the dotnet file programs, they might be cleaned up after a period.

We were previously not detecting this and just failing to locate the file (since we only download if saved etag didn't match). We now consider a missing local file as an implicit request to --force download and extract again.

@kzu kzu added the enhancement New feature or request label Mar 5, 2026
@kzu kzu force-pushed the dev/redownload branch from 67cf083 to 511f9a2 Compare March 5, 2026 22:56
@kzu kzu enabled auto-merge (rebase) March 5, 2026 22:56
@kzu
Copy link
Member Author

kzu commented Mar 5, 2026

168 passed 168 passed 1 skipped

🧪 Details on Ubuntu 24.04.3 LTS

from retest v1.1.0 on .NET 10.0.3 with 💜 by @devlooped

Since we use the same temp location for files as the dotnet file programs, they might be cleaned up after a period.

We were previously not detecting this and just failing to locate the file (since we only download if saved etag didn't match). We now consider a missing local file as an implicit request to --force download and extract again.
@kzu kzu force-pushed the dev/redownload branch from 511f9a2 to c8b49ed Compare March 5, 2026 23:24
@kzu kzu merged commit f9aacf0 into main Mar 5, 2026
7 checks passed
@kzu kzu deleted the dev/redownload branch March 5, 2026 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant