test: invented artists, albums and MusicBrainz ids in place of real ones
release / web (push) Failing after 1m16s
release / go (push) Successful in 1m48s
release / govulncheck (push) Successful in 20s
release / integration (push) Successful in 4m0s
release / android (push) Successful in 4m34s
release / Build signed APK (push) Successful in 5m9s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Skipped
release / Verify release artifacts (tag releases only) (push) Skipped

Test data and example comments named real artists, records and songs, and
carried real MusicBrainz ids. One mapping swaps them for invented ones
throughout (Fields of Ontario, Plastic Apes, Marlo Davies, ...), keeping
what each case tests: sort order, index letter, escaping, title keys,
artist-prefix stripping. A test username is no longer the operator's name.

The cover-art and Last.fm connection checks still query real releases;
they reach live services and need something that exists there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-25 13:21:34 -05:00
co-authored by Claude Opus 5.5
parent 4244d81dfd
commit 4e1807cbba
80 changed files with 570 additions and 570 deletions
+3 -3
View File
@@ -27,7 +27,7 @@ type artistCredit struct {
// featuring finds where a guest credit starts: "X feat. Y", "X ft. Y",
// "X featuring Y", "X (feat. Y)". Outside brackets the abbreviations need
// their full stop, so a band called "Little Feat" is not cut short; inside
// their full stop, so a band called "Tiny Feat" is not cut short; inside
// brackets the stop is optional.
var featuring = regexp.MustCompile(`(?i)\s+(?:[(\[]\s*(?:feat\.?|ft\.?|featuring)|feat\.|ft\.|featuring)\s`)
@@ -36,7 +36,7 @@ var featuring = regexp.MustCompile(`(?i)\s+(?:[(\[]\s*(?:feat\.?|ft\.?|featuring
// - A file that lists its artists one by one (Picard's ARTISTS tag, two or
// more values) is filed under the first. This is the only way a
// collaboration is split: "A & B" may be two artists or one band
// ("Simon & Garfunkel", "St. Paul & The Broken Bones"), and only the
// ("Simone & Garfield", "St. Mark & The Mended Bones"), and only the
// list says which.
// - Otherwise a featured guest is cut from the credit: "X feat. Y" is filed
// under X.
@@ -116,7 +116,7 @@ func readTagList(meta tag.Metadata, rs io.ReadSeeker, vorbisKey, textName string
// id3TextList reads the TXXX field called name. dhowden/tag files each TXXX
// frame under "TXXX", "TXXX_0", … as a *tag.Comm. ID3v2.4 separates the
// values of one frame with NUL. ID3v2.3 has no separator, and a "/" there
// may be part of a name (AC/DC), so a v2.3 frame is one value.
// may be part of a name (AM/FM), so a v2.3 frame is one value.
func id3TextList(meta tag.Metadata, name string) []string {
var out []string
for key, v := range meta.Raw() {