Skip to content

docs(compliance): register backing symbols for all implemented capabilities - #1614

Merged
spydon merged 1 commit into
mainfrom
chore/compliance-register-missing-symbols
Jul 17, 2026
Merged

spydon merged 1 commit into
mainfrom
chore/compliance-register-missing-symbols

Conversation

@spydon

@spydon spydon commented Jul 17, 2026 •

Copy link
Copy Markdown
Contributor

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.

@spydon
spydon requested a review from a team as a code owner July 17, 2026 09:55
@coderabbitai

coderabbitai Bot commented Jul 17, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 7cfc5c73-d16d-4929-a5d5-8f7e94681b3f

📥 Commits

Reviewing files that changed from the base of the PR and between e4559bc and 7c43f34.

📒 Files selected for processing (1)
  • sdk-compliance.yaml
🚧 Files skipped from review as they are similar to previous changes (1)
  • sdk-compliance.yaml

📝 Walkthrough

Summary by CodeRabbit

  • Documentation
    • Expanded SDK capability documentation with consistent status and symbol details across authentication, database, storage, realtime, functions, and client features.
    • Added coverage for passkeys, MFA, OAuth administration, presence, vector storage, streaming responses, token synchronization, and custom client configuration.
    • Clarified mappings for storage vector scanning and database RPC query options.

Walkthrough

Updated sdk-compliance.yaml to replace shorthand capability markers with explicit statuses and implementation symbol mappings across Auth, database, storage, realtime, functions, and client configuration. Added mappings for vector bucket scanning and realtime presence subscriptions while preserving existing notes and partial-implementation status. No exported or public declarations changed.

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.

❤️ Share

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

@spydon
spydon force-pushed the chore/compliance-register-missing-symbols branch from e4559bc to c278e52 Compare July 17, 2026 09:58
@spydon
spydon changed the base branch from main to chore/sso-compliance-symbol July 17, 2026 09:58
Base automatically changed from chore/sso-compliance-symbol to main July 17, 2026 11:13
…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.
@spydon
spydon force-pushed the chore/compliance-register-missing-symbols branch from c278e52 to 7c43f34 Compare July 17, 2026 11:16
@spydon
spydon merged commit d46c514 into main Jul 17, 2026
20 checks passed
@spydon
spydon deleted the chore/compliance-register-missing-symbols branch July 17, 2026 11:19
Vinzent03 pushed a commit that referenced this pull request Jul 28, 2026
…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.
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