Revert the deliberate break (#8298, #8330)
release / web (push) Successful in 1m36s
release / go (push) Successful in 1m59s
release / govulncheck (push) Successful in 20s
release / integration (push) Successful in 2m47s
release / android (push) Successful in 4m42s
release / Build signed APK (push) Successful in 5m4s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Publish the release image to GHCR (dispatch only) (push) Skipped
release / Build + push container image (push) Successful in 22s
release / Verify release artifacts (tag releases only) (push) Skipped

Run 11291 failed all three named tests. The api package ran its whole suite
past the weakened cost and the lane went on to coverart, which also failed
TestEnrichArtist_APictureFoundIsInTheSyncLog on the fanart-path break.

This reverts commit 359101c451.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-02 14:29:14 -05:00
co-authored by Claude Opus 5.5
parent 359101c451
commit b6454270b5
2 changed files with 5 additions and 3 deletions
+4 -2
View File
@@ -49,7 +49,7 @@ func (e *Enricher) EnrichArtist(ctx context.Context, artistID pgtype.UUID, dataD
case "theaudiodb":
return nil
case "none":
if row.ArtistArtSourcesVersion <= currentVersion { // DELIBERATE BREAK
if row.ArtistArtSourcesVersion == currentVersion {
return nil
}
if err := q.ClearArtistArtNone(ctx, artistID); err != nil {
@@ -127,7 +127,9 @@ func (e *Enricher) recordArtistArt(ctx context.Context, artistID pgtype.UUID, th
if thumbPath != "" {
thumbArg = &thumbPath
}
fanartArg = &fanartPath // DELIBERATE BREAK
if fanartPath != "" {
fanartArg = &fanartPath
}
return pgx.BeginFunc(ctx, e.pool, func(tx pgx.Tx) error {
if err := dbq.New(tx).SetArtistArtWithVersion(ctx, dbq.SetArtistArtWithVersionParams{
ID: artistID,