Commit Graph
2 Commits
Author SHA1 Message Date
bvandeusenandClaude Opus 5.5 72e8702e53 fix CI: errcheck in the migration test, Svelte 5 icon and props types, hold Android's SDK-37 libraries (#8532, #8533)
release / go (push) Successful in 1m48s
release / govulncheck (push) Successful in 16s
release / Build + push container image (push) Skipped
release / web (push) Failing after 1m23s
release / integration (push) Successful in 2m36s
release / android (push) Successful in 4m36s
release / Build signed APK (push) Successful in 4m59s
Run 11469 failed in three places:
- golangci-lint (errcheck) flagged three unchecked Close calls in
  migrations_roundtrip_test.go. Their errors are now discarded
  explicitly.
- svelte-check found two kinds of error:
  - IconProp was typed for class-based lucide-svelte components.
    @lucide/svelte's are Svelte 5 components, so it is now LucideIcon.
  - Svelte 5.60 no longer accepts $props<T>(). Eight components now
    type the destructuring instead.
- Android: compose-bom 2026.11, androidx.hilt 1.4, navigation 2.10,
  lifecycle 2.11, core-ktx 1.19, mediarouter 1.9, coil 3.6 and
  OkHttp 5 all require compileSdk 37. ci-android:36 carries SDK 36, so
  they are held at their previous versions until an SDK 37 image
  exists. OkHttp takes 4.12.1.
- ktlint-gradle 14's newer ktlint rules flag 751 lines in the test
  sources, so it stays on 12 until those sources are reformatted.

The rest of the Android update stays: Kotlin 2.4, AGP 9.5, Gradle 9.9,
Retrofit 3, JUnit 6 and the others.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-04 14:00:23 -05:00
bvandeusenandClaude Opus 5.5 7491a7b60f test: migrations round-trip down and up; dbtest fails when the lane has no database (#8509, #8510)
Migration round trip (family idea "Migration CI lane"):
- TestMigrationsRoundTrip, in the integration lane, migrates a scratch
  database to the baseline, then all the way up, then every migration
  after the baseline down, then up again.
- The schema after the down pass must match a database migrated to the
  baseline alone: columns, indexes, constraints, sequences, enums,
  functions and triggers. So a down file that leaves something behind
  fails, as well as one that errors.
- The baseline's own down file refuses to run by design, so the round
  trip stops there.
- The test uses golang-migrate as a library, with no migrator binary.
- The scratch database is dropped afterwards, and the shared test
  database is never migrated down.

dbtest (family idea "dbtest Pool and Fixtures"):
- dbtest.URL skips without a database. It fails instead when
  MINSTREL_TEST_DATABASE_REQUIRED is set, and the integration lane sets
  it.
- dbtest.On(t, db) gives One/Exec/Count fixtures. The local copies are
  repointed to them: exec in api, mustExec/mustID in backup,
  countQueueRows in scrobble, and countTrackSim/countArtistSim in
  similarity.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-04 10:44:18 -05:00