fix(resume): silent SaveResumeState failures during download lose progress #143
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
thwap/pget#143
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
internal/downloader/download.go:257,265—SaveResumeStateerrors are discarded with_ =. If writing the.pgetmetadata file fails (disk full, permissions), the download continues but resume state is lost. On interruption, user can't resume.Suggestion: log a warning when state save fails, but don't abort (download can still complete).
Discovered during review of PR #142.
Closing — implemented in PR #165. SaveResumeState errors now log a warning instead of being silently discarded.