Skip to content

ci: pin sync-compliance sdk-ref to current supabase/sdk main - #1676

Closed
libsreleasetagger[bot] wants to merge 6 commits into
mainfrom
chore/sync-compliance-matrix
Closed

libsreleasetagger[bot] wants to merge 6 commits into
mainfrom
chore/sync-compliance-matrix

Conversation

@libsreleasetagger

@libsreleasetagger libsreleasetagger Bot commented Aug 10, 2026 •

Copy link
Copy Markdown
Contributor

This branch's automated sync added 5 capability IDs as not_implemented:

  • auth.sign_in.reset_password
  • realtime.channel.send
  • storage.file_buckets.list_files_paginated
  • storage.analytics.iceberg_namespace
  • storage.analytics.iceberg_table

These aren't new — they're pre-rename names already tracked here under their current IDs (send_password_reset_email, broadcast, the merged list_files, and the split analytics namespace/table IDs) per supabase/sdk#74.

Root cause: the reusable workflow's sdk-ref input defaults to a fixed commit (faba359a, 2026-07-20) that's never been refreshed upstream — still stale as of current supabase/sdk main. Callers that don't override it (like this repo, until now) diff against that pre-rename spec, so the sync job resurrects retired IDs as spurious "new" entries.

Filed the actual fix upstream: supabase/sdk#79 changes that default to main. Since supabase/sdk has no tags/releases, nothing can auto-bump a fixed SHA anyway, and it's internal to the org — same review process as this repo — so tracking main there doesn't carry third-party supply-chain risk.

This PR: drops the 5 duplicate lines (net zero vs main) and bumps our uses: pin to supabase/sdk#79's fix commit, dropping our own sdk-ref override since it'll be the workflow's default again. Note: that commit currently lives on an unmerged upstream PR — re-pin to the merge commit once #79 lands.

Same bug/fix applies to supabase/supabase-swift#1195.

@libsreleasetagger
libsreleasetagger Bot requested a review from a team as a code owner August 10, 2026 06:38
The 5 IDs the sync bot added (auth.sign_in.reset_password,
realtime.channel.send, storage.file_buckets.list_files_paginated,
storage.analytics.iceberg_namespace, storage.analytics.iceberg_table) are
not new — they're pre-rename names already tracked here under their
current names (send_password_reset_email/broadcast/list_files/the split
namespace and table IDs), per supabase/sdk#74.

The bot resynced them because our caller workflow doesn't override the
reusable workflow's sdk-ref input, so it inherits that pinned commit's
baked-in default (faba359a, 2026-07-20), which predates the #74 rename.
Pinning sdk-ref explicitly to a current supabase/sdk main SHA fixes the
root cause (same fix applied to supabase-swift's equivalent PR #1195).
@grdsdev

grdsdev commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

These 5 IDs aren't new capabilities — they're pre-rename names already tracked here under their current names, per supabase/sdk#74:

  • auth.sign_in.reset_password → auth.sign_in.send_password_reset_email (implemented, GoTrueClient.resetPasswordForEmail)
  • realtime.channel.send → realtime.channel.broadcast (implemented)
  • storage.file_buckets.list_files_paginated → merged into list_files-family (implemented, StorageBucketApi.emptyBucket area)
  • storage.analytics.iceberg_namespace → split into create_namespace/list_namespaces/delete_namespace/etc. (already tracked, several implemented)
  • storage.analytics.iceberg_table → split into register_table/table_exists/etc. (already tracked, several implemented)

Root cause: our sync-compliance.yml caller didn't override the reusable workflow's sdk-ref input, so it inherited that pinned commit's baked-in default (faba359a, 2026-07-20) — 6 commits behind supabase/sdk main and predating the #74 rename. Same bug hit supabase-swift's equivalent PR (supabase/supabase-swift#1195). Pushed a fix that drops the duplicate lines and pins sdk-ref to a current main SHA so future syncs don't regress. Closing this PR.

@grdsdev grdsdev closed this Aug 10, 2026
@grdsdev grdsdev reopened this Aug 10, 2026
@grdsdev grdsdev changed the title chore: sync new capability IDs from canonical spec ci: pin sync-compliance sdk-ref to current supabase/sdk main Aug 10, 2026
Comment thread .github/workflows/sync-compliance.yml Outdated
# Keep in sync with supabase/sdk main; the reusable workflow's baked-in
# default lagged behind a capability-ID rename (supabase/sdk#74) and
# caused already-renamed IDs to be resynced as spurious "new" entries.
sdk-ref: c73e9fa23d050b2d2e84a86574884a6b1e7434ff

@spydon spydon Aug 10, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@grdsdev shouldn't this pinning be done in the sync-sdk-compliance.yml workflow and the workflow pinning (a few lines up) updated here instead? And then I guess we'd need a job to update that pinning automatically too.

supabase/sdk is internal (same org, same review process), so treating it
like an untrusted third party by pinning to a SHA isn't buying safety
here. It does cost freshness: the reusable workflow's own baked-in
sdk-ref default is a one-time pin upstream never refreshes, and
supabase/sdk has no tags/releases for anything to key an auto-bump off
of, so a fixed SHA here would just go stale again on its own schedule.
Tracking main avoids that.
grdsdev and others added 2 commits August 10, 2026 06:07
supabase/sdk#79 fixes the reusable workflow's own sdk-ref default (was
stuck on the stale faba359a pin since 2026-07-20). Point at that fix
commit directly and drop our local sdk-ref: main override, since it's
now the workflow's default.

Note: 72fda7c is currently on supabase/sdk's unmerged PR #79. Re-pin to
the actual main commit once that merges.
@spydon spydon closed this Aug 13, 2026
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