877bb7e9c45175bfcd2129ec892c699055f92908
2363
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
877bb7e9c4 |
test(web): the repeat table pressed Repeat the wrong number of times (#8300)
release / go (push) Successful in 1m52s
release / integration (push) Successful in 2m32s
release / web (push) Successful in 1m9s
release / govulncheck (push) Successful in 18s
release / android (push) Successful in 4m20s
release / Build signed APK (push) Successful in 4m50s
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 26s
release / Verify release artifacts (tag releases only) (push) Skipped
Repeat one is two presses from off and repeat all is one; the rows had them swapped, which the deliberate-break run showed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
b0c05891a4 |
Revert "test: DELIBERATE BREAK, expected red, reverted next (#8300)"
This reverts commit
|
||
|
|
741594dea2 |
Revert "test: DELIBERATE BREAK, type-valid StageBadge break (#8300)"
This reverts commit
|
||
|
|
5c4e6ed0d9 |
test: DELIBERATE BREAK, type-valid StageBadge break (#8300)
release / go (push) Successful in 2m18s
release / web (push) Failing after 1m47s
release / govulncheck (push) Successful in 20s
release / integration (push) Successful in 3m7s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Publish the release image to GHCR (dispatch only) (push) Canceled after 0s
release / android (push) Canceled after 2m33s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / Build signed APK (push) Canceled after 2m8s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
2bfe6036e3 |
test: DELIBERATE BREAK, expected red, reverted next (#8300)
release / web (push) Failing after 20s
release / go (push) Successful in 2m40s
release / govulncheck (push) Successful in 23s
release / integration (push) Successful in 3m30s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Publish the release image to GHCR (dispatch only) (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / android (push) Canceled after 2m57s
release / Build signed APK (push) Canceled after 1m22s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
4c4ddf741e |
test(web): drop URL-echo and scaffold tests, merge repeated cases into tables (#8300)
Client tests that only restated a function's URL, or asserted on the value their own mock returned, are gone; what those functions do beyond the URL (escaping an id, leaving out an empty note, paging) keeps a test. Repeated cases in the player store, row keyboard handling, public routes, register refusals and others are tables. The shuffle test used an rng that never swapped, so it could not fail; it now pins the order. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
5d2c533074 |
providers: remove TreatAuthAsTransient, which changed only an error's text (#8299)
release / go (push) Successful in 1m48s
release / web (push) Successful in 1m19s
release / integration (push) Successful in 2m38s
release / govulncheck (push) Successful in 20s
release / android (push) Successful in 4m29s
release / Build signed APK (push) Successful in 4m57s
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 14s
release / Verify release artifacts (tag releases only) (push) Skipped
Without the option a 401 or 403 already fell to the default branch, which answers ErrTransient without a retry, the same as the option's own branch. The only difference was "(auth)" in the message. TheAudioDB and both Last.fm providers set it; none read the message. The reason it gave, that a bad key retries later instead of settling the row as "none", now sits on the default branch, and the client's status table checks 401 and 403. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
da21becead |
Revert the deliberate break (#8299)
Run 11302 failed all ten named tests, and with them apierror's
TestWrite_SendsTheEnvelopeAndHidesAPlainErrorsText and api's
TestFlag_BadReason, which pin the same rules from the handler side.
This reverts commit
|
||
|
|
21adbc2283 |
test: DELIBERATE BREAK, expected red, reverted next (#8299)
release / web (push) Successful in 1m43s
release / go (push) Failing after 2m6s
release / govulncheck (push) Successful in 20s
release / integration (push) Failing after 2m48s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Publish the release image to GHCR (dispatch only) (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / android (push) Canceled after 2m8s
release / Build signed APK (push) Canceled after 1m47s
- backup Coverage: a listed table missing from the schema goes unreported -> TestCoverage - scrobble: exactly four minutes no longer qualifies -> TestQualifies - listenbrainz submit: a 400 retried as transient -> TestClient_RefusalsMapToWhatTheWorkerDoes - playevents: either skip condition alone is a skip -> TestRecordPlayEnded_AppliesTheSkipRule - recsettings: tag scales up to 100 -> TestUpdateTaste_TagScales - apierror From: a plain error answered 400 -> TestFrom - auth RequireAdmin: no user in the context passes through -> TestRequireAdmin - providers: a 404 is transient -> TestHTTPClient_GetJSON_AnswersNotFoundOrTransient - quarantine: any reason accepted -> TestService_Refusals - playsessions: exactly the window starts a new session -> TestFindOrCreate_JoinsWithinTheWindowAndStartsAfterIt Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
97cb2b2dd1 |
test(quarantine, playsessions): share one database reset per scenario (#8299)
release / go (push) Successful in 2m10s
release / integration (push) Successful in 3m2s
release / web (push) Successful in 1m30s
release / govulncheck (push) Successful in 20s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Publish the release image to GHCR (dispatch only) (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / android (push) Canceled after 1m21s
release / Build signed APK (push) Canceled after 42s
- quarantine: the four refusals (a report on a missing track, an unknown reason, resolving or deleting a missing track) are one table. - playsessions: the four window tests are one listener's plays at 0, 15, 45 and 76 minutes against a 30-minute window: a new session, joining, joining at exactly the window, and starting anew. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
cfdbfa30e3 |
test(backup, scrobble, playevents, recsettings, apierror, auth, providers): merge repeated cases (#8299)
release / web (push) Successful in 1m41s
release / go (push) Successful in 2m4s
release / govulncheck (push) Successful in 23s
release / integration (push) Successful in 3m5s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Publish the release image to GHCR (dispatch only) (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / android (push) Canceled after 4m35s
release / Build signed APK (push) Canceled after 3m53s
- backup: schema coverage's three tests and the three AWS signing examples, one table each. - scrobble: Qualifies' six boundary tests; the ListenBrainz client's refusal mapping, twelve tests of the same rule across three calls, one table over call x status; the two similarity lookups' success and URL tests, one table. - playevents: the skip rule's three plays share one fixture. Dropped TestRecordPlayEnded_SubThreshold_NoEnqueue: the writer only calls scrobble.MaybeEnqueue, whose own test and Qualifies' table hold that case; the qualifying-play test still proves the writer calls it. - recsettings: the three tag-scale tests share one database reset. - apierror: Error() and From, one test each; auth: RequireAdmin's three. - providers: GetJSON's not-found and transient answers, one table. Its two 401 tests expected the same answer with and without TreatAuthAsTransient, which changes only the error's text; the table says so. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
b6454270b5 |
Revert the deliberate break (#8298, #8330)
release / web (push) Successful in 1m36s
release / go (push) Successful in 1m59s
release / Build signed APK (push) Successful in 5m4s
release / Publish the release image to GHCR (dispatch only) (push) Skipped
release / govulncheck (push) Successful in 20s
release / integration (push) Successful in 2m47s
release / android (push) Successful in 4m42s
release / Attach APK to the Release (tag releases 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 |
test: DELIBERATE BREAK, expected red, reverted next (#8298, #8330)
release / go (push) Failing after 2m4s
release / integration (push) Failing after 3m2s
release / web (push) Successful in 1m49s
release / govulncheck (push) Successful in 22s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Publish the release image to GHCR (dispatch only) (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / Build signed APK (push) Canceled after 53s
release / android (push) Canceled after 1m43s
The three tests run 11288 could not reach: - artist enricher: "none" under older providers is not asked again -> TestEnrichArtist_WhichArtistsAreAsked - artist enricher: a fanart path recorded with no fanart -> TestEnrichArtist_OnePictureOfTwo - api: passwordCost default below bcrypt.DefaultCost -> TestPasswordCost_StoredPasswordsUseAtLeastBcryptsDefault Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
201ad741ea |
Revert the deliberate break; the password-cost check is an ordinary test (#8298, #8330)
release / web (push) Successful in 1m33s
release / go (push) Successful in 1m57s
release / govulncheck (push) Successful in 21s
release / integration (push) Successful in 2m53s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Publish the release image to GHCR (dispatch only) (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / android (push) Canceled after 3m32s
release / Build signed APK (push) Canceled after 3m3s
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 |
test: DELIBERATE BREAK, expected red, reverted next (#8298, #8330, #8331)
release / integration (push) Failing after 58s
release / govulncheck (push) Successful in 19s
release / go (push) Failing after 2m0s
release / web (push) Successful in 1m35s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Publish the release image to GHCR (dispatch only) (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / Build signed APK (push) Canceled after 3m28s
release / android (push) Canceled after 4m28s
- 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> |
||
|
|
6ef96be290 |
api tests hash passwords at bcrypt's lowest cost; one genre splitter (#8330, #8331)
release / web (push) Successful in 1m30s
release / go (push) Successful in 1m55s
release / android (push) Successful in 4m31s
release / Build signed APK (push) Successful in 5m0s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Publish the release image to GHCR (dispatch only) (push) Skipped
release / govulncheck (push) Successful in 19s
release / integration (push) Successful in 2m43s
release / Build + push container image (push) Successful in 13s
release / Verify release artifacts (tag releases only) (push) Skipped
#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> |
||
|
|
10b10b8179 |
test(coverart, subsonic, server): merge repeated cases into tables (#8298)
release / web (push) Successful in 1m35s
release / go (push) Successful in 1m58s
release / govulncheck (push) Successful in 19s
release / integration (push) Successful in 3m0s
release / android (push) Successful in 4m26s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Publish the release image to GHCR (dispatch only) (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / Build signed APK (push) Canceled after 5m8s
- coverart: the four providers' identity and default tests, Last.fm's five not-found-without-asking tests, the four "which artists are asked again" database tests (now one reset over four artists), and the thumbnail-only and fanart-only tests. - subsonic: getUser's six tests and decodePassword's three, one table each. Dropped TestTokenMD5Derivation: it checked crypto/md5 against a constant and called no Minstrel code. - server: the four web-app-versus-API path tests start one server, not four. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
bd95cdb105 |
Revert the deliberate break (#8297)
release / go (push) Successful in 1m53s
release / govulncheck (push) Successful in 19s
release / integration (push) Successful in 2m47s
release / android (push) Successful in 4m21s
release / web (push) Successful in 1m23s
release / Build signed APK (push) Successful in 5m2s
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 15s
release / Verify release artifacts (tag releases only) (push) Skipped
All eight broken behaviours failed their named tests in run 11283. Also
failing, as expected: the other tests pinning the same rules from other
sides (Discover's own album cap, a genre mix's artist cap, recsettings'
similarity weight, and Subsonic's playlist visibility and write checks).
This reverts commit
|
||
|
|
60b0edac7a |
test: DELIBERATE BREAK, expected red, reverted next (#8297)
release / web (push) Successful in 1m19s
release / go (push) Failing after 1m46s
release / govulncheck (push) Successful in 20s
release / integration (push) Failing after 2m38s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Publish the release image to GHCR (dispatch only) (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / android (push) Canceled after 3m8s
release / Build signed APK (push) Canceled after 2m23s
- service.go Get: another user sees a private playlist -> TestService_WhoMaySeeAndChangeAPlaylist - service.go Reorder: duplicate positions accepted -> TestService_RefusesBadInput - system.go: a build never draws covers -> TestBuildSystemPlaylists_SufficientActivity - discover.go: three tracks per album -> TestCapCandidatesByAlbumAndArtist - similarity.go Similarity: one seed side still matches -> TestSimilarity - similarity.go ContextualMatchScore: seed likes count -> TestContextualMatchScore - score.go: SimilarityWeight ignored -> TestScore - sessionvector.go: two tracks are enough -> TestBuildSessionVector_SeedUntilThreeTracks Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
a2dae7ec8c |
test(playlists, recommendation): system-mix builds stop drawing covers no test reads; merge repeated cases (#8297)
release / web (push) Successful in 1m16s
release / go (push) Successful in 1m44s
release / govulncheck (push) Successful in 18s
release / integration (push) Successful in 2m45s
release / android (push) Successful in 4m29s
release / Build signed APK (push) Successful in 4m40s
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 14s
release / Verify release artifacts (tag releases only) (push) Skipped
Timings from one run of the integration lane with -v (
|
||
|
|
39c5b1ed66 |
ci: TEMPORARY, print each database test's duration for one run (#8297)
release / go (push) Successful in 1m49s
release / web (push) Successful in 1m15s
release / govulncheck (push) Successful in 18s
release / integration (push) Successful in 3m14s
release / android (push) Successful in 4m19s
release / Build signed APK (push) Successful in 4m43s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Publish the release image to GHCR (dispatch only) (push) Skipped
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 3s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
8ed66cf132 |
Revert the deliberate break (#8296)
release / web (push) Successful in 1m33s
release / go (push) Successful in 1m57s
release / govulncheck (push) Successful in 17s
release / integration (push) Successful in 3m23s
release / android (push) Successful in 4m26s
release / Build signed APK (push) Successful in 4m56s
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 13s
release / Verify release artifacts (tag releases only) (push) Skipped
All seven broken behaviours failed their named tests: five in the go lane of run 11273 (after |
||
|
|
25c7db71b1 |
test(library): the volume-absent refusals are tested apart from the mark cap (#8296)
release / web (push) Successful in 1m40s
release / go (push) Failing after 2m7s
release / govulncheck (push) Successful in 21s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Publish the release image to GHCR (dispatch only) (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / android (push) Canceled after 1m2s
release / Build signed APK (push) Canceled after 23s
release / integration (push) Canceled after 2m48s
Every case marked every track, so the 25% cap refused before the root checks were reached: run 11272 broke the empty-root check and the test still passed. The walk now marks one track of ten and clears a returned one, which reconcile would do, so only the root and empty-walk checks can refuse it; and the test asserts nothing was cleared either, since those checks run before restores. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
c03b3e0aa7 |
test: DELIBERATE BREAK, expected red, reverted next (#8296)
release / web (push) Successful in 1m59s
release / go (push) Failing after 2m20s
release / govulncheck (push) Successful in 22s
release / integration (push) Failing after 3m59s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Publish the release image to GHCR (dispatch only) (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / Build signed APK (push) Canceled after 2m54s
release / android (push) Canceled after 3m37s
Seven behaviours broken, each aimed at one rewritten library test that must fail: - moved.go: an ambiguous match adopts the first candidate -> TestAdoptMovedTrack - reconcile.go: an empty root passes the mount check -> TestReconcileMissing_RefusesWhenAVolumeLooksAbsent - id3v2genre.go: whole-tag unsynchronisation is not undone -> TestReadID3v2GenreValues - mbids.go: no Vorbis MUSICBRAINZ_TRACKID fallback for the recording -> TestReadTagMBIDs - duplicate_resolve.go: rip and clean notes swapped -> TestResolveDuplicates_LinksCopiesAcrossReleasesAndRemovesNothing_Integration - stage_publisher.go: Flush keeps the tick count -> TestStagePublisher_FlushesEveryNTicksAndOnFlush - trigger.go: a stale run is never reaped -> TestTryStartScan_StartsUnlessAFreshScanIsRunning Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
ac8792323c |
test(library): merge repeated cases into tables, drop tests of other code (#8296)
release / web (push) Successful in 1m30s
release / go (push) Successful in 1m57s
release / govulncheck (push) Successful in 19s
release / integration (push) Successful in 3m26s
release / android (push) Successful in 4m40s
release / Build signed APK (push) Successful in 5m12s
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 28s
release / Verify release artifacts (tag releases only) (push) Skipped
- Moved-file adoption: 14 tests become one table. uniqueMatch, the row converters and pgtype's zero UUID are dropped: the adoption table covers the first two, and the third tests pgx. - Reconcile: marking and its change rows, and restoring and its change rows, are one test each; the five "a volume looks absent" refusals are one table. Dropped: an error-propagation test. - Genres: the ID3 reader cases, the normalisers and extractGenres across ID3, FLAC, Ogg and MP4 are one table each. - MusicBrainz tag ids: eleven per-format tests become one table. - Scan trigger: start / skip / reap is one table. Dropped: a closed-pool test. - Stage publisher: six tests become three. - Duplicate resolver: the cross-release cases (rip, renamed, kept as fine, two titles) asserted the same outcome once the resolver stopped removing files. They become one table that also checks the group's note, which is where rip and clean still differ. The auto-resolve-off song-link check moves into the existing auto-resolve-off test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
4811ec2ec9 |
Revert the deliberate break (#8295)
release / go (push) Successful in 1m51s
release / web (push) Successful in 1m16s
release / govulncheck (push) Successful in 19s
release / integration (push) Successful in 3m19s
release / Build signed APK (push) Successful in 5m7s
release / android (push) Successful in 4m26s
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 11264 failed every named test: - TestMountedRoutes_RequireASessionAndAdminRoutesAnAdmin - TestRegister_AfterTheFirstAccountAnInviteIsTheOnlyWayIn - TestAdminUsers_DemotingStopsAtTheLastAdmin - TestHandleLogin_AWrongPasswordAndAnUnknownUserLookAlike - TestUpdateProfile_ChangesOnlyTheFieldsSent - TestEnumerate_LeavesHiddenFilesAndFoldersOut Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
8e44666131 |
test(api): the invite-only test starts from exactly one account (#8295)
release / web (push) Successful in 1m17s
release / integration (push) Failing after 3m23s
release / govulncheck (push) Successful in 18s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Publish the release image to GHCR (dispatch only) (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / go (push) Failing after 1m53s
release / Build signed APK (push) Canceled after 1m3s
release / android (push) Canceled after 1m26s
The deliberate break letting the second account in without an invite did not fail it: accounts earlier tests made through sign-up have no test prefix, survive dbtest's reset, and kept the count above one. The test now clears users first. The deliberate break stays for one more run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
22f801d8f1 |
test(api): the route walk reports a handler it reached instead of crashing (#8295)
release / go (push) Failing after 2m3s
release / web (push) Successful in 1m40s
release / govulncheck (push) Successful in 21s
release / integration (push) Failing after 3m32s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Publish the release image to GHCR (dispatch only) (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / Build signed APK (push) Canceled after 2m48s
release / android (push) Canceled after 3m28s
With the admin check removed, the walk reached a handler that panicked on its bare wiring, and the panic ended the whole api test binary, hiding every other failure. The walk now recovers and names the route that ran its handler. The deliberate break above stays in place for one more run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
6f89c3c212 |
test: DELIBERATE BREAK, expected red, reverted next (#8295)
release / go (push) Failing after 2m31s
release / web (push) Successful in 1m36s
release / govulncheck (push) Successful in 21s
release / integration (push) Failing after 2m51s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Publish the release image to GHCR (dispatch only) (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / android (push) Canceled after 2m13s
release / Build signed APK (push) Canceled after 1m42s
Proves the reviewed tests can fail. Each break, and the test that must fail: - admin routes lose RequireAdmin -> TestMountedRoutes_RequireASessionAndAdminRoutesAnAdmin - the second account signs up without an invite -> TestRegister_AfterTheFirstAccountAnInviteIsTheOnlyWayIn - the last admin can be demoted -> TestAdminUsers_DemotingStopsAtTheLastAdmin - an unknown user gets a different refusal -> TestHandleLogin_AWrongPasswordAndAnUnknownUserLookAlike - email is stored as typed -> TestUpdateProfile_ChangesOnlyTheFieldsSent - the scan walks hidden folders -> TestEnumerate_LeavesHiddenFilesAndFoldersOut Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
3fd3c1f7c6 |
test(api): merge repeated cases into tables, drop skips dbtest already makes (#8295)
release / web (push) Successful in 1m34s
release / go (push) Successful in 2m0s
release / govulncheck (push) Successful in 19s
release / integration (push) Successful in 3m24s
release / android (push) Successful in 4m46s
release / Build signed APK (push) Successful in 5m12s
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 29s
release / Verify release artifacts (tag releases only) (push) Skipped
- The like/unlike story runs as one sequence that checks the rows after each step. - The invite-only sign-up cases are one test, which now also checks that a refused sign-up creates no account. - Demoting an admin, and stopping at the last one, is one test. - A wrong password and an unknown user are one test, which now also checks that the two refusals are identical. - The cover-path resolver tests repeated the cover handler's tests branch for branch; the handler tests stay. - The Range-from-start stream test only re-checked http.ServeContent. - The APK's nil-user 401 is covered by the mounted-route walk. - 68 copies of the MINSTREL_TEST_DATABASE_URL skip go: every one of those tests reaches dbtest.Pool, which already skips. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
81cc29595b |
test(api): one walk over the mounted router checks access and id errors (#8295)
release / go (push) Successful in 2m3s
release / web (push) Successful in 1m29s
release / govulncheck (push) Successful in 19s
release / integration (push) Successful in 3m29s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Publish the release image to GHCR (dispatch only) (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / android (push) Canceled after 3m28s
release / Build signed APK (push) Canceled after 3m3s
The access tests checked hand-built routers that applied RequireAdmin themselves, so none could catch a production route mounted outside its group. One test now walks every route Mount registers: each non-public route answers 401 without a session, and each admin route 403 to a listener. The per-endpoint malformed-id (400) and unknown-id (404) tests become one table over the real routes. Profile updates, playlist kind filters and empty searches each fold into one table; writeErr's envelope tests move to apierror.Write, which they were testing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
877e1d2631 |
fix(library): hidden files and folders are not part of the library (#8305)
A full scan, the watcher's directory watches and the files it queues all skip any name below a library root that starts with a dot. A download manager can park replaced copies in a hidden folder, and macOS leaves "._" files beside the music; neither is a track. A track already indexed from a hidden path is marked missing at the next full scan. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
0e24fd388f |
fix(web): ws 8.23.1, past the pong-flood advisory
npm audit flags ws 8.0.0-8.22.2 (GHSA-37g9-w4hg-h9qr). Only jsdom, the test DOM, pulls it in; the lockfile moves to the patched release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
7fe0c68899 |
ci: the integration lane runs only packages with database tests, built in parallel first
release / web (push) Failing after 5s
release / go (push) Successful in 1m52s
release / govulncheck (push) Successful in 19s
release / integration (push) Successful in 3m15s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Publish the release image to GHCR (dispatch only) (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / Build signed APK (push) Canceled after 4m8s
release / android (push) Canceled after 4m33s
The integration job ran `go test -p 1 -race ./...`: every package, one at a time, including 18 with no database test whose unit tests the go lane had already run. -p 1 also serialized compiling, about 50s before the first test ran. ci/db-test-packages.sh lists the packages whose tests reach Postgres (through internal/dbtest or MINSTREL_TEST_DATABASE_URL); a package that mentions neither cannot run a database test. The job builds those test binaries with full parallelism (-run '^$'), then runs them serially as before. make test-integration uses the same list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
56285881aa |
fix(coverart): album art goes to Minstrel's data folder, never beside the music (#8286)
release / go (push) Successful in 1m58s
release / web (push) Successful in 1m25s
release / govulncheck (push) Successful in 22s
release / integration (push) Successful in 4m24s
release / android (push) Successful in 4m33s
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 14s
release / Verify release artifacts (tag releases only) (push) Skipped
Another program files the library now. The cover enricher wrote a cover.jpg into each album folder it found art for, from the files' tags or from a provider, and an admin's cover retry deleted that file again, even if the other program had since put its own cover at that path. The enricher now keeps every cover it writes under <data>/album-art/<album>/cover.jpg, and a retry removes a cover only from there. A cover.jpg an older build left beside the music stays, and is read as the library's own. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
c073e41613 |
fix(library): duplicate auto-resolve is off by default (#8252)
release / go (push) Successful in 2m18s
release / web (push) Successful in 1m34s
release / govulncheck (push) Successful in 22s
release / integration (push) Successful in 4m47s
release / android (push) Successful in 4m46s
release / Build signed APK (push) Successful in 5m35s
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 17s
release / Verify release artifacts (tag releases only) (push) Skipped
Other programs file music into the library, so Minstrel acts on duplicates only once an admin turns this on. Migration 0114 sets the column default to false and turns the setting off on installs that hold the old default; the Go default follows, so an unreadable database behaves like a fresh one. The pass removes no file either way. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
677a421675 |
fix(library): the duplicate resolver never removes a file on its own (#8252)
release / go (push) Successful in 2m28s
release / web (push) Successful in 1m42s
release / govulncheck (push) Successful in 23s
release / integration (push) Successful in 5m9s
release / android (push) Successful in 5m28s
release / Build signed APK (push) Successful in 5m54s
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 34s
release / Verify release artifacts (tag releases only) (push) Skipped
Other programs file music into the library now, and a startup pass
deleted a whole album a download manager had just filed, keeping older
loose copies of the same songs. The resolver assumed Minstrel was the
only program writing the library; it is not.
An automatic pass now changes only Minstrel's database:
- copies of one song, on one album or across releases, are linked as one
song, so likes, plays and mixes count it once, and any group an admin
may want to thin stays pending for review (and is announced);
- distinct versions are still dismissed, and rips still held back;
- a one-album wrong slot gets a note naming the song MusicBrainz or
AcoustID says the recording is, for the admin who settles it.
Removing a copy is an admin's merge or wrong-slot settle, as before. When
an admin merges, a copy in a folder named for its album ("Album (Year)",
or its "CD nn" folder) now outranks a loose copy of the same audio.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
||
|
|
63af193b13 |
fix(web): sign-up and password-reset headings use the display face too
release / web (push) Successful in 1m17s
release / go (push) Successful in 1m50s
release / govulncheck (push) Successful in 18s
release / integration (push) Successful in 4m1s
release / android (push) Successful in 4m26s
release / Build signed APK (push) Successful in 4m47s
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
The previous commit meant to carry these and didn't. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
c6e4948d26 |
fix(web): the header name and sign-in headings use the display face
release / web (push) Canceled after 0s
release / android (push) Canceled after 0s
release / govulncheck (push) Canceled after 0s
release / Build signed APK (push) Canceled after 0s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Publish the release image to GHCR (dispatch only) (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / go (push) Canceled after 8s
release / integration (push) Canceled after 7s
The app name in the header was Inter at weight 600, a weight the house style doesn't use, and read as a plain label beside Fraunces section titles. It is the wordmark, so it now takes Fraunces at 500, as page titles do, from 18px up. The sign-in, sign-up, reset and invite headings follow the same rule. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
1aea3e9a1b |
chore: take workbench pointers and real library data out of the public tree
release / go (push) Successful in 2m1s
release / govulncheck (push) Successful in 20s
release / web (push) Successful in 1m18s
release / integration (push) Successful in 4m11s
release / android (push) Successful in 4m4s
release / Build signed APK (push) Successful in 4m33s
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 29s
release / Verify release artifacts (tag releases only) (push) Skipped
A sweep of the export (git archive) against the release leak standard: - Internal ids in comments: a split "(rule 157)", two "RULE 131" headers and a "Preference 172" the id search missed because it was case-sensitive. - Comments that quoted or credited the operator (shuffle caps, mix rotation, player bar layout, ID3v1 table). - Real artists still in the suspect-source fixtures (and the Beck example in its comment): replaced with invented ones in the same file shapes. - "26,171 tracks", a count from a real library, in the plural examples: now 12,345. - Comments pointing at CI files the export leaves out (release.yml, the ci-go image, the Gitea keystore secret, an M8 milestone, .dockerignore history); client/README describes the release image, not the lanes. - renovate.json is export-ignore: it targets the workbench's dev branch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
fb5fb9d4e0 |
test(recommendation): spread fixtures use hex track ids (#8216)
candBy scans the id into a UUID, so a title starting with 'o' failed to parse before the test ran. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
27e3725e54 |
fix(recommendation): radio and shuffle keep one artist's songs apart (#8216)
release / web (push) Successful in 1m17s
release / go (push) Failing after 1m42s
release / govulncheck (push) Successful in 17s
release / integration (push) Failing after 3m57s
release / android (push) Successful in 4m23s
release / Build signed APK (push) Successful in 4m50s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Skipped
release / Publish the release image to GHCR (dispatch only) (push) Skipped
release / Verify release artifacts (tag releases only) (push) Skipped
Radio returned its picks in score order, and a seed's own artist matches it best, so a DROELOE radio opened with four DROELOE songs in a row. The artist cap bounded how many songs an artist got, not where they played. SpreadArtists reorders picks so an artist doesn't play again within three songs where another choice exists. Each slot takes the best remaining pick outside that gap; when none is, the artist heard longest ago goes next, so two artists alternate. Which songs are picked doesn't change. Radio counts the seed's artist as just played; the library shuffle spreads from a blank start. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
352720f13f |
chore(android): stop tracking Android Studio's project state
android/.idea/ has been in .gitignore since the Kotlin rewrite, but the files committed before that line kept being tracked: the run target, the JDK, the device list. They are one workstation's IDE state, and the public export would have carried them. Local copies are kept. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
11b01df446 |
ci(release): say where GHCR_USER is read from (#8207)
release / web (push) Successful in 1m45s
release / go (push) Successful in 2m13s
release / govulncheck (push) Successful in 23s
release / integration (push) Successful in 4m42s
release / android (push) Successful in 5m4s
release / Build signed APK (push) Successful in 5m9s
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 14s
release / Verify release artifacts (tag releases only) (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
c6915dfe8f |
ci(release): GHCR login reads GHCR_USER as a variable or a secret (#8207)
release / android (push) Canceled after 0s
release / govulncheck (push) Canceled after 0s
release / Build signed APK (push) Canceled after 0s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Publish the release image to GHCR (dispatch only) (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / go (push) Canceled after 10s
release / integration (push) Canceled after 11s
release / web (push) Canceled after 11s
The dry-run dispatch (run 11160) built the release image but showed vars.GHCR_USER empty while secrets.GHCR_TOKEN was set; a real release would have stopped at login. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
143bb8561c |
ci(release): a dispatch builds the public release image for GHCR from the export (#8207)
release / web (push) Successful in 1m29s
release / go (push) Successful in 1m58s
release / govulncheck (push) Successful in 18s
release / integration (push) Successful in 4m17s
release / android (push) Successful in 4m49s
release / Build signed APK (push) Successful in 5m39s
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 14s
release / Verify release artifacts (tag releases only) (push) Skipped
A new publishing job, ghcr-release, runs only on a workflow_dispatch with ghcr_release ticked, behind every verifying lane: - names the release with ci/version.sh (tag v<name>); - exports `git archive HEAD`, refuses it if it carries .gitea or ci, and matches its tree (staged with add -A -f) to the public repo's v<name> tag; a dry run tolerates a missing tag as revision=unreleased; - stages the freshly built APK and sidecar into the export; - builds with --provenance=false, labelled source=the GitHub repo, revision=the public commit, version=<name>; - unless ghcr_dry_run (the default), logs in with vars.GHCR_USER and secrets.GHCR_TOKEN and pushes :<name> once and :latest. A real run must be on main. image-release stands aside on a GHCR dispatch, so a release moves no private channel. The concurrency group now includes the event, so a dispatch and a push on one ref don't cancel each other. The gate test counts ghcr-release as a publisher and pins its trigger, its export build, its provenance flag and its source label. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
e1f270362d |
chore(release): everything that ships points at GitHub and GHCR (#7897)
release / go (push) Successful in 2m7s
release / web (push) Successful in 1m25s
release / govulncheck (push) Successful in 21s
release / integration (push) Successful in 4m30s
release / android (push) Successful in 4m39s
release / Build signed APK (push) Successful in 5m10s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Successful in 29s
release / Verify release artifacts (tag releases only) (push) Skipped
- Module path: github.com/Fabled-Sword/minstrel, in go.mod, every import and the Dockerfile's version ldflags. - buildinfo.ProjectURL, the contact outside services see in Minstrel's User-Agent: https://github.com/Fabled-Sword/minstrel. - README's compose example pulls ghcr.io/fabled-sword/minstrel:latest. - docs/security.md sends problem reports to the GitHub issues. - The demo-library stack builds Minstrel from the checkout, since :dev is not published to GHCR. - hygiene.go's same-site example uses example.com names. The workbench CI (.gitea/, ci/, export-ignored) still builds and publishes :dev to the private registry. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
18efd01eaa |
feat(brand): the product calls itself Fabled Minstrel (#8168)
release / go (push) Successful in 1m55s
release / web (push) Successful in 1m27s
release / govulncheck (push) Successful in 21s
release / integration (push) Successful in 4m31s
release / android (push) Successful in 4m43s
release / Build signed APK (push) Successful in 5m23s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Successful in 25s
release / Verify release artifacts (tag releases only) (push) Skipped
Where Minstrel names itself to a person it now gives its full name: - the README heading, logo text and first line; - the default app name, which feeds the browser tab, link previews and the header; - the login heading, which now follows the app-name setting too; - the emails' brand line and sign-off; - the default From name for email. On a phone the header shows the mark alone, as the nav shows its icons alone; the left lane is too narrow for the full name, and the link's label still names it. Running text, email subjects, code identifiers and the Android launcher label keep "Minstrel". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
05e087268a |
fix(library): a scan and a duplicate-resolver pass never touch the files at once (#8197)
release / go (push) Successful in 2m17s
release / web (push) Successful in 1m29s
release / govulncheck (push) Successful in 20s
release / integration (push) Successful in 4m28s
release / android (push) Successful in 4m25s
release / Build signed APK (push) Successful in 5m8s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Successful in 15s
release / Verify release artifacts (tag releases only) (push) Skipped
The resolver checked for a running scan once, at the start of a pass. At boot that check could run before the startup scan recorded its run, and a scan that began mid-pass was never seen, so the pass removed copies the scan had listed (23 "no such file" errors on dev, 2026-11-28). A gate now keeps the two apart for their whole length: a full scan and each watcher batch hold it, a scan that meets a pass waits for it (up to 30 minutes, then gives up with a named error), and a pass that meets a scan is put off and tried again a minute later. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
7c6c47cdb2 |
feat(mailer): emails follow a light system theme, and stay dark otherwise
release / go (push) Successful in 2m0s
release / integration (push) Successful in 4m16s
release / web (push) Successful in 1m26s
release / govulncheck (push) Successful in 20s
release / android (push) Successful in 4m23s
release / Build signed APK (push) Successful in 4m52s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Successful in 17s
release / Verify release artifacts (tag releases only) (push) Skipped
Every email is still drawn dark inline, so a client that can't tell the reader's theme shows the app's own look. A stylesheet gives each coloured element the design system's light colours when the reader's system is light. A test checks that every element drawn dark carries the class that lightens it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |