Repository navigation
ci: bump supabase/sdk reusable workflows to v1.3.0 - #2636
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 8 included reviews per hour; 7 remain after this review. 📝 WalkthroughSummary by CodeRabbit
WalkthroughThe pull request updates two GitHub Actions workflows. The Merge Risk: ⚪ Minimal · up to This PR only updates the pinned reusable workflow version in two CI files, with unchanged inputs and no identified merge-blocking risk remaining after normal checks and review. 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 |
##⚠️ Do not merge until all four caller bump PRs are merged This PR removes the compatibility layer that pinned callers depend on. Merging it early breaks the compliance check on any SDK repo that has not yet bumped. | Repo | Bump PR | Status | | --- | --- | --- | | supabase-flutter | supabase/supabase-flutter#1780 | open, CI green | | supabase-swift | supabase/supabase-swift#1297 | open, CI green | | supabase-js | supabase/supabase-js#2636 | open, CI green | | supabase-py | supabase/supabase-py#1595 | open, CI green | `supabase-go` already tracks `@main` and needs nothing. ## What Removes the two transitional symlinks left behind by the `packages/` restructure (#93): ``` scripts/capability-matrix -> ../packages/capability-matrix scripts/dart_symbol_extractor -> ../packages/dart-symbol-extractor ``` With both gone, `scripts/` is empty and disappears. Follow-on cleanup of the same concept: - **`README.md`** — drops the `scripts/` entry from the repository layout block. - **`CLAUDE.md`** — drops the paragraph explaining the symlinks and when to remove them. - **`sdk-ref` input descriptions** (5 reusable workflows + 2 composite actions) — reworded from "Ref to checkout from supabase/sdk for scripts" to "... for tooling", since `scripts` no longer names anything. Description-only, not part of the call contract. Easy to drop from this PR if you would rather keep the diff to the symlinks alone. ## Why the symlinks existed Pinning to these reusable workflows is not fully hermetic: the pinned workflow body comes from the tag, but the composite actions it calls are referenced `@main` and check out this repo at `main`. After the restructure, a caller pinned to `v1.2.0` therefore combined a post-restructure checkout with a workflow body still hardcoding `_sdk-spec/scripts/...`. The symlinks bridged exactly that gap. `v1.3.0` was cut (#97, #98) to give callers a post-restructure ref to pin to, which is what the four PRs above do. ## Verification - `npm run validate` — OK - `npm test` — 195 passed (14 files) - `npm run typecheck` — clean - `git grep "scripts/"` — no matches anywhere in the repo The four caller PRs are the real proof: each one's own compliance run resolves the `packages/` paths against a `main` checkout, and all four passed. ## Note for later This class of breakage recurs whenever a path referenced by a pinned workflow body moves, because the composite actions float on `@main`. Pinning the `sdk-compliance-*` action refs alongside the workflow ref, or having the workflows resolve tooling paths dynamically, would make pinning actually hermetic. Out of scope here.
What
Bumps the pinned
supabase/sdkreusable workflow ref fromv1.1.1tov1.3.0, in bothvalidate-capabilities.ymlandsync-compliance.yml.Why
supabase/sdkwas restructured into apackages/monorepo layout (supabase/sdk#93), movingscripts/capability-matrixtopackages/capability-matrix.Pinning there is not fully hermetic: the pinned workflow body comes from the tag, but the composite actions it calls are referenced
@mainand check outsupabase/sdkatmain. So onv1.1.1we get a post-restructure checkout combined with a workflow body that still hardcodes_sdk-spec/scripts/capability-matrix. That only works today becausesupabase/sdkcarries transitionalscripts/→packages/symlinks, which are there purely for pinned callers like this one and are meant to be deleted.Bumping to
v1.3.0puts the workflow body and the checked-out layout back in agreement, and lets those symlinks be removed upstream.Risk
Low. Across
v1.1.1→v1.2.0→v1.3.0the reusable workflows changed only in thesescripts/→packages/paths. No input was added, removed, renamed, or given a new default, so this is a pure ref bump with no call-site changes needed. In particular the existingtypedoc-packagesinput is unchanged.Worth confirming the compliance check job goes green here before merge, since that is the actual thing being verified.