tests and comments: invented names for real songs and artists the sweep found (#8209)
release / go (push) Successful in 1m57s
release / web (push) Successful in 1m8s
release / integration (push) Successful in 2m42s
release / govulncheck (push) Successful in 20s
release / android (push) Successful in 1m53s
release / Build signed APK (push) Successful in 1m43s
release / Build + push container image (push) Successful in 24s

The Title Case sweep of the export found real song titles and artists in
fixtures and comments: three songs from one real album, a real song in a
release fixture, real artists in a tag test, a link test and a genre test,
a real song as a notification example, and a count from a real folder.
Each is now invented.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-03 20:14:49 -05:00
co-authored by Claude Opus 5.5
parent 01cff2b702
commit a65a86ea07
12 changed files with 26 additions and 26 deletions
+3 -3
View File
@@ -29,9 +29,9 @@ func TestGroupMissingByDirectory(t *testing.T) {
t.Run("consecutive rows in one directory collapse to one group", func(t *testing.T) {
groups := groupMissingByDirectory([]dbq.ListMissingTracksRow{
missingRow("/music/Lincoln Yard/Minutes to Noon", "Given Up", base),
missingRow("/music/Lincoln Yard/Minutes to Noon", "Leave Out All the Rest", base),
missingRow("/music/Lincoln Yard/Minutes to Noon", "Bleed It Out", base),
missingRow("/music/Lincoln Yard/Minutes to Noon", "Paper Wings", base),
missingRow("/music/Lincoln Yard/Minutes to Noon", "Leave the Lights On", base),
missingRow("/music/Lincoln Yard/Minutes to Noon", "Ring It Out", base),
})
if len(groups) != 1 {
+2 -2
View File
@@ -39,8 +39,8 @@ type suspectTrackView struct {
}
// suspectGroupView is a folder's worth of flagged tracks. As on the
// missing-files report, the folder is the unit of decision: Mammalz was 62 rows
// in one folder, which is one problem to look at, not 62.
// missing-files report, the folder is the unit of decision: sixty flagged rows
// in one folder are one problem to look at, not sixty.
type suspectGroupView struct {
Directory string `json:"directory"`
Tracks []suspectTrackView `json:"tracks"`
+2 -2
View File
@@ -41,8 +41,8 @@ func TestHandleListSuspectSources_Integration(t *testing.T) {
if err := json.Unmarshal(w.Body.Bytes(), &resp); err != nil {
t.Fatalf("decode: %v", err)
}
// Three present files carry a marker. "Chain Reaction" and "Busted and
// Blue" carry none, and the lyric video's file is missing.
// Three present files carry a marker. "Chain Reaction" and "Bruised and
// Grey" carry none, and the lyric video's file is missing.
if resp.Total != 3 {
t.Errorf("total = %d, want 3", resp.Total)
}