Repository navigation
ci: pin sync-compliance sdk-ref to current supabase/sdk main - #1676
libsreleasetagger[bot] wants to merge 6 commits into
Conversation
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).
|
These 5 IDs aren't new capabilities — they're pre-rename names already tracked here under their current names, per supabase/sdk#74:
Root cause: our sync-compliance.yml caller didn't override the reusable workflow's |
| # 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 |
There was a problem hiding this comment.
@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.
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.
This branch's automated sync added 5 capability IDs as
not_implemented:auth.sign_in.reset_passwordrealtime.channel.sendstorage.file_buckets.list_files_paginatedstorage.analytics.iceberg_namespacestorage.analytics.iceberg_tableThese aren't new — they're pre-rename names already tracked here under their current IDs (
send_password_reset_email,broadcast, the mergedlist_files, and the split analytics namespace/table IDs) per supabase/sdk#74.Root cause: the reusable workflow's
sdk-refinput defaults to a fixed commit (faba359a, 2026-07-20) that's never been refreshed upstream — still stale as of currentsupabase/sdkmain. 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. Sincesupabase/sdkhas 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 trackingmainthere doesn't carry third-party supply-chain risk.This PR: drops the 5 duplicate lines (net zero vs
main) and bumps ouruses:pin to supabase/sdk#79's fix commit, dropping our ownsdk-refoverride 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.