Skip to content

mirrors: fix 404 being treated as retriable error - #1676

Merged
neolynx merged 2 commits into
masterfrom
fix/download-retries
Dec 2, 2026
Merged

neolynx merged 2 commits into
masterfrom
fix/download-retries

Conversation

@neolynx

@neolynx neolynx commented Dec 2, 2026 •

Copy link
Copy Markdown
Member

Description of the Change

  • do not retry HTTP 404 errors
  • this allows mirrors without InRelease files to be created faster
  • log only 1 error line per failed download

@neolynx neolynx self-assigned this Dec 2, 2026
@neolynx
neolynx force-pushed the fix/download-retries branch from c48351c to 055e6ff Compare December 2, 2026 19:23
@neolynx
neolynx force-pushed the fix/download-retries branch from 055e6ff to 520cb66 Compare December 2, 2026 21:10
@codecov

codecov Bot commented Dec 2, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 65.38462% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.99%. Comparing base (f68c645) to head (010a5b5).

Files with missing lines Patch % Lines
http/download.go 63.15% 6 Missing and 1 partial ⚠️
http/grab.go 71.42% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1676      +/-   ##
==========================================
- Coverage   77.99%   77.99%   -0.01%     
==========================================
  Files         165      165              
  Lines       16668    16670       +2     
==========================================
+ Hits        13001    13002       +1     
- Misses       2418     2420       +2     
+ Partials     1249     1248       -1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@neolynx
neolynx requested a review from a team December 2, 2026 23:12
@neolynx
neolynx merged commit c66ea12 into master Dec 2, 2026
44 of 45 checks passed
@neolynx
neolynx deleted the fix/download-retries branch December 2, 2026 23:16
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