Run 11288 failed every named test it reached. The api TestMain's cost
check exited the test binary, and the integration lane runs each package's
binary once with no tests to warm the build, so it stopped the lane there
before coverart's database tests ran. The check is now a test of its own:
a weakened cost fails one test and the rest of the lane still runs.
This reverts commit e717e4370d.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- lastfm: no key answers transient, not not-found
-> TestLastfm_AnswersNotFoundWithoutAsking
- deezer: off by default -> TestProviders_IdentityAndDefaults
- artist enricher: "none" under older providers is not asked again
-> TestEnrichArtist_WhichArtistsAreAsked
- artist enricher: a fanart path recorded with no fanart
-> TestEnrichArtist_OnePictureOfTwo
- getUser: an admin asking about another gets themself
-> TestHandleGetUser
- decodePassword: enc: not decoded -> TestDecodePassword
- router: unknown /rest/ paths get the web app
-> TestRouter_TheWebAppAndTheAPIsKeepTheirOwnPaths
- genretag: commas no longer split -> TestSplit
- api: passwordCost default below bcrypt.DefaultCost -> api's TestMain
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
#8330: every password the api handlers store goes through hashPassword at
bcrypt.DefaultCost, most of a second per hash under -race, so the password
tests took about 1.4s each, roughly 15s of the package. The cost is now a
package variable the tests' TestMain lowers to MinCost, after refusing a
production default below bcrypt.DefaultCost.
#8331: recommendation and taste each had a splitGenres and subsonic's
hasGenre split inline, the same rule three times. internal/genretag.Split
is the one copy, a stdlib-only leaf, and the two TestSplitGenres tables
are one.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>