Repository navigation
docs(compliance): register getSSOSignInUrl symbol for sign_in_with_sso - #1613
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughSummary by CodeRabbit
WalkthroughThe Possibly related PRs
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. Comment |
|
The following capabilities are marked
These may have been renamed, removed, or never registered. Please update the capability matrix. |
…lities Every capability marked implemented in sdk-compliance.yaml now carries a symbols list pointing at the public Dart symbol(s) that back it, so the capability-matrix drift check can verify each one exists. Previously these implemented capabilities had no symbols list and were reported as unverifiable drift on every PR. Stacked on #1613, which registers the sign_in_with_sso symbol.
…lities Every capability marked implemented in sdk-compliance.yaml now carries a symbols list pointing at the public Dart symbol(s) that back it, so the capability-matrix drift check can verify each one exists. Previously these implemented capabilities had no symbols list and were reported as unverifiable drift on every PR. Stacked on #1613, which registers the sign_in_with_sso symbol.
…lities (#1614) ## What Adds a `symbols:` list to every capability in `sdk-compliance.yaml` that was marked `implemented` but had no registered symbols (156 capabilities across auth, database, storage, realtime, functions, and client). > **Stacked on #1613.** This PR targets `chore/sso-compliance-symbol` and inherits the `sign_in_with_sso` symbol registered there; review/merge #1613 first, then this. ## Why The reusable **SDK Compliance** workflow runs a capability-matrix drift check on every PR (see the drift comment on #1613). For each `implemented` capability it expects a `symbols:` list so the Dart symbol extractor can confirm the backing public API actually exists. Capabilities without a list are reported as unverifiable, which is why every PR got a ~150-line drift warning. This registers the backing symbol(s) for each remaining one, clearing the drift. ## How - Ran the same `dart_symbol_extractor` the CI uses (from `supabase/sdk`) against this repo to produce the ground-truth public symbol dump, then mapped each capability to the public Dart symbol(s) that implement it (e.g. `auth.sign_in.sign_up` → `GoTrueClient.signUp`, `database.using_filters.eq` → `PostgrestFilterBuilder.eq`). - Every registered symbol was validated to exist in the extractor output, and the drift-check logic was replicated locally: it now reports **0 findings**. - Symbols that are intentionally `@internal` (e.g. `RealtimeClient.connect`, which is not part of the public parity surface since Dart connects lazily on subscribe) were not registered; those capabilities point at the public symbol that actually drives them. ## Notes - No source or public API changed, this only touches the compliance matrix, so the "new public symbols" check is unaffected.
#1613) ## What Adds the backing public symbol `GoTrueClient.getSSOSignInUrl` to the `auth.sign_in.sign_in_with_sso` entry in `sdk-compliance.yaml`. ## Why SSO sign-in is already functionally complete in the Dart SDK: the redirect URL is obtained via the public `getSSOSignInUrl`, which is re-exported all the way up so end users can call `supabase.auth.getSSOSignInUrl(...)` directly. The matrix already documented the deviation from supabase-js (returns `Future<String>` instead of the structured `{ url }` response); this change records the concrete symbol that backs the capability, matching how other entries (e.g. `auth.session.get_session` → `GoTrueClient.getSession`) list theirs. Follow-up to the discussion on #1598, which was closed as not planned since the capability is already reachable and the name/return-shape alignment is a v3 concern.
…lities (#1614) ## What Adds a `symbols:` list to every capability in `sdk-compliance.yaml` that was marked `implemented` but had no registered symbols (156 capabilities across auth, database, storage, realtime, functions, and client). > **Stacked on #1613.** This PR targets `chore/sso-compliance-symbol` and inherits the `sign_in_with_sso` symbol registered there; review/merge #1613 first, then this. ## Why The reusable **SDK Compliance** workflow runs a capability-matrix drift check on every PR (see the drift comment on #1613). For each `implemented` capability it expects a `symbols:` list so the Dart symbol extractor can confirm the backing public API actually exists. Capabilities without a list are reported as unverifiable, which is why every PR got a ~150-line drift warning. This registers the backing symbol(s) for each remaining one, clearing the drift. ## How - Ran the same `dart_symbol_extractor` the CI uses (from `supabase/sdk`) against this repo to produce the ground-truth public symbol dump, then mapped each capability to the public Dart symbol(s) that implement it (e.g. `auth.sign_in.sign_up` → `GoTrueClient.signUp`, `database.using_filters.eq` → `PostgrestFilterBuilder.eq`). - Every registered symbol was validated to exist in the extractor output, and the drift-check logic was replicated locally: it now reports **0 findings**. - Symbols that are intentionally `@internal` (e.g. `RealtimeClient.connect`, which is not part of the public parity surface since Dart connects lazily on subscribe) were not registered; those capabilities point at the public symbol that actually drives them. ## Notes - No source or public API changed, this only touches the compliance matrix, so the "new public symbols" check is unaffected.
What
Adds the backing public symbol
GoTrueClient.getSSOSignInUrlto theauth.sign_in.sign_in_with_ssoentry insdk-compliance.yaml.Why
SSO sign-in is already functionally complete in the Dart SDK: the redirect URL is obtained via the public
getSSOSignInUrl, which is re-exported all the way up so end users can callsupabase.auth.getSSOSignInUrl(...)directly. The matrix already documented the deviation from supabase-js (returnsFuture<String>instead of the structured{ url }response); this change records the concrete symbol that backs the capability, matching how other entries (e.g.auth.session.get_session→GoTrueClient.getSession) list theirs.Follow-up to the discussion on #1598, which was closed as not planned since the capability is already reachable and the name/return-shape alignment is a v3 concern.