Repository navigation
docs(compliance): register backing symbols for all implemented capabilities - #1614
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
WalkthroughUpdated 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 |
e4559bc to
c278e52
Compare
…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.
c278e52 to
7c43f34
Compare
…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 a
symbols:list to every capability insdk-compliance.yamlthat was markedimplementedbut had no registered symbols (156 capabilities across auth, database, storage, realtime, functions, and client).Why
The reusable SDK Compliance workflow runs a capability-matrix drift check on every PR (see the drift comment on #1613). For each
implementedcapability it expects asymbols: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
dart_symbol_extractorthe CI uses (fromsupabase/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).@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