Skip to content

ci: bump supabase/sdk reusable workflows to v1.3.0 - #2636

Merged
mandarini merged 2 commits into
masterfrom
chore/bump-sdk-workflows-v1.3.0
Aug 27, 2026
Merged

mandarini merged 2 commits into
masterfrom
chore/bump-sdk-workflows-v1.3.0

Conversation

@spydon

@spydon spydon commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

What

Bumps the pinned supabase/sdk reusable workflow ref from v1.1.1 to v1.3.0, in both validate-capabilities.yml and sync-compliance.yml.

Why

supabase/sdk was restructured into a packages/ monorepo layout (supabase/sdk#93), moving scripts/capability-matrix to packages/capability-matrix.

Pinning there is not fully hermetic: the pinned workflow body comes from the tag, but the composite actions it calls are referenced @main and check out supabase/sdk at main. So on v1.1.1 we get a post-restructure checkout combined with a workflow body that still hardcodes _sdk-spec/scripts/capability-matrix. That only works today because supabase/sdk carries transitional scripts/ → packages/ symlinks, which are there purely for pinned callers like this one and are meant to be deleted.

Bumping to v1.3.0 puts 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.0 the reusable workflows changed only in these scripts/ → 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 existing typedoc-packages input is unchanged.

Worth confirming the compliance check job goes green here before merge, since that is the actual thing being verified.

@spydon
spydon requested review from a team as code owners August 27, 2026 14:25
@coderabbitai

coderabbitai Bot commented Aug 27, 2026 •

Copy link
Copy Markdown

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 Plus

Run ID: 41937221-a7f4-4bde-8a6d-76b99278fefd

📥 Commits

Reviewing files that changed from the base of the PR and between 4c1d78e and e87f730.

📒 Files selected for processing (2)
  • .github/workflows/sync-compliance.yml
  • .github/workflows/validate-capabilities.yml

Included review availability: Your plan provides up to 8 included reviews per hour; 7 remain after this review.


📝 Walkthrough

Summary by CodeRabbit

  • Chores
    • Updated automated compliance and capability validation workflows to use the latest SDK compliance checks.
    • No user-facing functionality or configuration changes.

Walkthrough

The pull request updates two GitHub Actions workflows. The sync-compliance.yml workflow now references SDK compliance revision 4d74492587bde35691e8a85470c0a7ebd7badb3e (v1.3.0). The validate-capabilities.yml workflow uses the same revision for its JavaScript compliance validation job. No other workflow configuration changed.

Merge Risk: ⚪ Minimal · up to e87f7

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.

❤️ Share

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

@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 81.697% (+3.8%) from 77.938% — chore/bump-sdk-workflows-v1.3.0 into master

@mandarini
mandarini merged commit d38e6c5 into master Aug 27, 2026
33 checks passed
@mandarini
mandarini deleted the chore/bump-sdk-workflows-v1.3.0 branch August 27, 2026 16:26
spydon added a commit to supabase/sdk that referenced this pull request Aug 28, 2026
## ⚠️ 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.
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.

3 participants