Skip to content

fix(apikey): tighten v2 migration scope

3c77876
Select commit
Loading
Failed to load commit list.
Open

feat(apikeys): migrate legacy keys to v2 #2279

fix(apikey): tighten v2 migration scope
3c77876
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded May 24, 2026 in 1m 1s

Annotations

Check failure on line 993 in supabase/migrations/20260523143000_migrate_apikeys_to_v2_timestamp_fix.sql

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal 3 times.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ5U1NZhqJQ-O8gW3mXi&open=AZ5U1NZhqJQ-O8gW3mXi&pullRequest=2279

Check failure on line 989 in supabase/migrations/20260523143000_migrate_apikeys_to_v2_timestamp_fix.sql

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal 3 times.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ5U1NZhqJQ-O8gW3mXc&open=AZ5U1NZhqJQ-O8gW3mXc&pullRequest=2279

Check warning on line 213 in src/pages/ApiKeys.vue

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this union type with a type alias.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ42QaGI55rYU4SfzTTP&open=AZ42QaGI55rYU4SfzTTP&pullRequest=2279

Check failure on line 994 in supabase/migrations/20260523143000_migrate_apikeys_to_v2_timestamp_fix.sql

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal 4 times.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ5U1NZhqJQ-O8gW3mXe&open=AZ5U1NZhqJQ-O8gW3mXe&pullRequest=2279

Check failure on line 992 in supabase/migrations/20260523143000_migrate_apikeys_to_v2_timestamp_fix.sql

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal 3 times.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ5U1NZhqJQ-O8gW3mXl&open=AZ5U1NZhqJQ-O8gW3mXl&pullRequest=2279

Check failure on line 2099 in supabase/migrations/20260523143000_migrate_apikeys_to_v2_timestamp_fix.sql

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal 4 times.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ5U1NZhqJQ-O8gW3mXd&open=AZ5U1NZhqJQ-O8gW3mXd&pullRequest=2279

Check warning on line 270 in supabase/functions/_backend/utils/hono_middleware.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This assertion is unnecessary since it does not change the type of the expression.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ42QaDz55rYU4SfzTTO&open=AZ42QaDz55rYU4SfzTTO&pullRequest=2279

Check warning on line 508 in src/pages/ApiKeys.vue

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ42QaGI55rYU4SfzTTQ&open=AZ42QaGI55rYU4SfzTTQ&pullRequest=2279

Check failure on line 991 in supabase/migrations/20260523143000_migrate_apikeys_to_v2_timestamp_fix.sql

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal 3 times.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ5U1NZhqJQ-O8gW3mXm&open=AZ5U1NZhqJQ-O8gW3mXm&pullRequest=2279

Check failure on line 1243 in supabase/migrations/20260523143000_migrate_apikeys_to_v2_timestamp_fix.sql

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal 3 times.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ5U1NZhqJQ-O8gW3mXr&open=AZ5U1NZhqJQ-O8gW3mXr&pullRequest=2279

Check failure on line 2033 in supabase/migrations/20260523143000_migrate_apikeys_to_v2_timestamp_fix.sql

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal 4 times.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ5U1NZhqJQ-O8gW3mXt&open=AZ5U1NZhqJQ-O8gW3mXt&pullRequest=2279

Check failure on line 1477 in supabase/migrations/20260523143000_migrate_apikeys_to_v2_timestamp_fix.sql

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal 3 times.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ5U1NZhqJQ-O8gW3mXh&open=AZ5U1NZhqJQ-O8gW3mXh&pullRequest=2279

Check failure on line 1675 in supabase/migrations/20260523143000_migrate_apikeys_to_v2_timestamp_fix.sql

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal 6 times.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ5U1NZhqJQ-O8gW3mXp&open=AZ5U1NZhqJQ-O8gW3mXp&pullRequest=2279

Check failure on line 1466 in supabase/migrations/20260523143000_migrate_apikeys_to_v2_timestamp_fix.sql

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal 5 times.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ5U1NZhqJQ-O8gW3mXo&open=AZ5U1NZhqJQ-O8gW3mXo&pullRequest=2279

Check failure on line 224 in supabase/migrations/20260523143000_migrate_apikeys_to_v2_timestamp_fix.sql

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal 8 times.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ5U1NZhqJQ-O8gW3mXs&open=AZ5U1NZhqJQ-O8gW3mXs&pullRequest=2279

Check failure on line 1757 in supabase/migrations/20260523143000_migrate_apikeys_to_v2_timestamp_fix.sql

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal 3 times.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ5U1NZhqJQ-O8gW3mXj&open=AZ5U1NZhqJQ-O8gW3mXj&pullRequest=2279

Check failure on line 1286 in supabase/migrations/20260523143000_migrate_apikeys_to_v2_timestamp_fix.sql

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal 3 times.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ5U1NZhqJQ-O8gW3mXg&open=AZ5U1NZhqJQ-O8gW3mXg&pullRequest=2279

Check failure on line 1246 in supabase/migrations/20260523143000_migrate_apikeys_to_v2_timestamp_fix.sql

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal 3 times.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ5U1NZhqJQ-O8gW3mXq&open=AZ5U1NZhqJQ-O8gW3mXq&pullRequest=2279

Check failure on line 87 in supabase/migrations/20260523143000_migrate_apikeys_to_v2_timestamp_fix.sql

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal 6 times.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ5U1NZhqJQ-O8gW3mXk&open=AZ5U1NZhqJQ-O8gW3mXk&pullRequest=2279

Check warning on line 218 in supabase/functions/_backend/utils/hono_middleware.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This assertion is unnecessary since it does not change the type of the expression.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ42QaDz55rYU4SfzTTN&open=AZ42QaDz55rYU4SfzTTN&pullRequest=2279

Check failure on line 223 in supabase/migrations/20260523143000_migrate_apikeys_to_v2_timestamp_fix.sql

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal 9 times.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ5U1NZhqJQ-O8gW3mXf&open=AZ5U1NZhqJQ-O8gW3mXf&pullRequest=2279

Check warning on line 750 in src/pages/ApiKeys.vue

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `.some(…)` over `.find(…)`.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ42QaGI55rYU4SfzTTR&open=AZ42QaGI55rYU4SfzTTR&pullRequest=2279

Check failure on line 1220 in supabase/migrations/20260523143000_migrate_apikeys_to_v2_timestamp_fix.sql

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal 10 times.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ5U1NZhqJQ-O8gW3mXn&open=AZ5U1NZhqJQ-O8gW3mXn&pullRequest=2279