sonda/internal/images
Repository files (latest commit first)
Filename Latest commit message Latest commit date
tgiachi 9323702b1e fix(jobs): a stop or a panic never wedges a job, a bad download never replaces a good picture
- A panic while counting no longer leaves the job marked as running; a panic in the
  work of one item is a failure of that item, and a panic in the list ends the job
  with a reason.
- A stop while the items are counted is recorded as a stop instead of a 500, and a
  count that fails leaves the status as the previous job left it.
- An artist that lost its MusicBrainz id since it was listed is skipped by the
  pictures job, as the spec says, instead of counting as a failure.
- A picture that cannot be used now (refused download, bytes that are not an image)
  is a failure when a good picture is stored, so a refresh never throws it away.
- The outcomes the artist jobs report share their constants in the jobs package.
- The spec no longer calls each job "the one request" that goes through the library.
- The test that waited with a sleep for the count now waits for a signal.
2026-11-12 10:09:46 +01:00
..
album_remote_test.go fix(images): purge removes every archive cover, the id of an emptied album moves on 2026-11-12 09:21:11 +01:00
artist.go fix(jobs): a stop or a panic never wedges a job, a bad download never replaces a good picture 2026-11-12 10:09:46 +01:00
artist_job.go fix(jobs): a stop or a panic never wedges a job, a bad download never replaces a good picture 2026-11-12 10:09:46 +01:00
artist_job_test.go fix(jobs): a stop or a panic never wedges a job, a bad download never replaces a good picture 2026-11-12 10:09:46 +01:00
artist_test.go feat(images): album covers from the Cover Art Archive 2026-11-12 09:09:31 +01:00
commons_source.go fix(jobs): a stop or a panic never wedges a job, a bad download never replaces a good picture 2026-11-12 10:09:46 +01:00
commons_source_test.go fix(jobs): a stop or a panic never wedges a job, a bad download never replaces a good picture 2026-11-12 10:09:46 +01:00
coverart_source.go feat(images): album covers from the Cover Art Archive 2026-11-12 09:09:31 +01:00
coverart_source_test.go feat(images): album covers from the Cover Art Archive 2026-11-12 09:09:31 +01:00
fifo_unix_test.go fix(images): limit parallel builds, no stale saves, safer files 2026-11-11 21:03:26 +01:00
job.go fix(jobs): a stop or a panic never wedges a job, a bad download never replaces a good picture 2026-11-12 10:09:46 +01:00
job_test.go feat(jobs): background jobs for artist photos and descriptions 2026-11-12 09:58:45 +01:00
nonblock_other.go feat(images): album covers from my own files 2026-11-11 20:52:36 +01:00
nonblock_unix.go feat(images): album covers from my own files 2026-11-11 20:52:36 +01:00
process.go fix(images): outages are 502, purges are not undone, bad pictures are not outages 2026-11-11 22:12:49 +01:00
process_test.go feat(images): album covers from my own files 2026-11-11 20:52:36 +01:00
service.go fix(jobs): a stop or a panic never wedges a job, a bad download never replaces a good picture 2026-11-12 10:09:46 +01:00
service_test.go fix(images): limit parallel builds, no stale saves, safer files 2026-11-11 21:03:26 +01:00