fix CI: errcheck in the migration test, Svelte 5 icon and props types, hold Android's SDK-37 libraries (#8532, #8533)
release / web (push) Failing after 1m23s
release / go (push) Successful in 1m48s
release / govulncheck (push) Successful in 16s
release / integration (push) Successful in 2m36s
release / android (push) Successful in 4m36s
release / Build signed APK (push) Successful in 4m59s
release / Build + push container image (push) Skipped
release / web (push) Failing after 1m23s
release / go (push) Successful in 1m48s
release / govulncheck (push) Successful in 16s
release / integration (push) Successful in 2m36s
release / android (push) Successful in 4m36s
release / Build signed APK (push) Successful in 4m59s
release / Build + push container image (push) Skipped
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>
This commit is contained in:
@@ -41,7 +41,7 @@ func TestMigrationsRoundTrip(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
t.Cleanup(func() { m.Close() })
|
||||
t.Cleanup(func() { _, _ = m.Close() })
|
||||
|
||||
step := func(name string, run func() error) {
|
||||
t.Helper()
|
||||
@@ -92,7 +92,7 @@ func scratchDatabase(ctx context.Context, t *testing.T, dsn string) string {
|
||||
if err != nil {
|
||||
t.Fatalf("connect: %v", err)
|
||||
}
|
||||
t.Cleanup(func() { admin.Close(context.Background()) })
|
||||
t.Cleanup(func() { _ = admin.Close(context.Background()) })
|
||||
|
||||
b := make([]byte, 6)
|
||||
if _, err := rand.Read(b); err != nil {
|
||||
@@ -125,7 +125,7 @@ func schemaOf(ctx context.Context, t *testing.T, dsn string) []string {
|
||||
if err != nil {
|
||||
t.Fatalf("connect: %v", err)
|
||||
}
|
||||
defer conn.Close(ctx)
|
||||
defer func() { _ = conn.Close(ctx) }()
|
||||
|
||||
const q = `
|
||||
SELECT 'column ' || table_name || '.' || column_name || ' ' || data_type
|
||||
|
||||
Reference in New Issue
Block a user