Skip to content

chore(supabase_common): drop inferrable type arguments on platform names#1604

Merged
spydon merged 1 commit into
mainfrom
fix/supabase-common-dcm-inferrable
Jul 15, 2026
Merged

chore(supabase_common): drop inferrable type arguments on platform names#1604
spydon merged 1 commit into
mainfrom
fix/supabase-common-dcm-inferrable

Conversation

@spydon

@spydon spydon commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Summary

Removes the explicit <String, String> type arguments from the _platformNames const map in packages/supabase_common/lib/src/client_info.dart. The type is inferred identically from the string literals, so this is a no-op at runtime.

Why

The DCM check (CQLabs/setup-dcm installs the latest DCM at runtime) now flags this as avoid-inferrable-type-arguments. Because the DCM version is not pinned, the rule surfaces intermittently and can turn the DCM job red on unrelated PRs. This removes the finding at the source.

No behavior change.

@spydon
spydon requested a review from a team as a code owner July 15, 2026 10:10
@coderabbitai

coderabbitai Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@spydon, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 8 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: e51840d1-5b9e-4771-a92b-8654bb45271d

📥 Commits

Reviewing files that changed from the base of the PR and between 20a82be and 1e4eec8.

📒 Files selected for processing (1)
  • packages/supabase_common/lib/src/client_info.dart

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@spydon
spydon merged commit ae0a064 into main Jul 15, 2026
37 checks passed
@spydon
spydon deleted the fix/supabase-common-dcm-inferrable branch July 15, 2026 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants