Repository navigation
ci: version packages individually instead of the repo root - #112
Merged
Merged
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 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 |
spydon
force-pushed
the
ci/per-package-release-components
branch
from
August 28, 2026 12:31
80fa44e to
355d767
Compare
spydon
marked this pull request as ready for review
August 28, 2026 12:45
mandarini
approved these changes
Aug 28, 2026
This was referenced Aug 28, 2026
Merged
Merged
Merged
Merged
spydon
added a commit
that referenced
this pull request
Aug 28, 2026
…mpliance actions (#117) ## What Removes the transitional `sdk-ref` input and its gated self-checkout steps from the `sdk-compliance-validate` and `sdk-compliance-check-setup` composite actions. ## Why The shim existed for pre-v1.4.0 reusable workflows, which referenced these actions remotely at `@main` and passed a non-empty `sdk-ref` so the actions could perform their own checkouts. All consumers of those workflows have now merged their bumps to v1.5.0 (supabase-flutter#1782, supabase-js#2637, supabase-py#1596, supabase-swift#1300), and since #112 the old `.github/actions/` paths no longer exist on main anyway, so nothing can reach these actions with a non-empty `sdk-ref` anymore: - Current reusable workflows check out `_sdk-spec` themselves at `inputs.sdk-ref || job.workflow_sha` and reference the actions locally without passing `sdk-ref`. - supabase-go is pinned to the v1.3.0 go workflow, which references the actions at the frozen v1.2.0 SHA, so it never executes the action code on main. Its bump (including dropping the `sdk-ref: main` override) is tracked separately. The `sdk-ref` input on the reusable workflows themselves is intentionally kept: supabase-go still passes it, and it remains the documented pre-merge testing override.
spydon
added a commit
to supabase/supabase-flutter
that referenced
this pull request
Aug 31, 2026
…1783) Bumps every supabase/sdk reusable workflow pin to the `capability-matrix-v1.6.0` tag (commit a494be6719174adbca0313de1ee187407e2dca95). supabase/sdk stopped cutting root `vX.Y.Z` release tags (supabase/sdk#112); the compliance workflows and their tooling are now versioned through `capability-matrix-vX.Y.Z` tags instead. This is the one-time repin onto the new tag family; Dependabot follows the `capability-matrix-v*` prefix from here on. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated automated compliance and capability validation workflows to use the latest approved validation rules. * Improved alignment with current SDK capability requirements. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 of 2 tasks
spydon
added a commit
that referenced
this pull request
Aug 31, 2026
…mits (#120) ## Summary Removes the `release-as` entries from `release-please-config.json` for both packages. `release-as` pins every release PR to that exact version. The pins were used to force the initial versions when the per-package release-please setup landed (#111/#112), but both packages have since shipped those versions (`capability-matrix` 1.6.0, `postgrest-typegen` 0.1.0), so the pins now block any further version bump. Concretely: #118 landed as a `feat` on `postgrest-typegen`, which with `bump-minor-pre-major: true` should produce 0.2.0, but the release PR #119 proposed a no-op `v0.1.0...v0.1.0` release with only a changelog change because the config forced 0.1.0 again. `capability-matrix` would hit the same wall on its next release. Once this merges, release-please will refresh #119 to a proper 0.2.0 (changelog, `package.json`, and manifest bump). ## Test plan - [x] `release-please-config.json` still validates against its $schema (structure unchanged, only the two `release-as` keys removed) - [ ] After merge: release-please refreshes #119 to `postgrest-typegen: 0.2.0`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Stops versioning the repository root with release-please and versions packages individually instead. The root
vX.Y.Zrelease line ends atv1.5.0; from here on,packages/capability-matrixandpackages/postgrest-typegeneach have their own component, tags, and changelog, and the compliance logic moves into the package that versions it.What changed
release-please-config.json: removes the root"."component. Addspackages/capability-matrixas anodecomponent (component namecapability-matrix, tagscapability-matrix-vX.Y.Z).packages/postgrest-typegenkeeps the setup from ci: release and publish @supabase/postgrest-typegen via release-please #111. The symbol extractors (dart-symbol-extractor,go-symbol-extractor) are intentionally not release-managed..release-please-manifest.json: replaces the"."entry withpackages/capability-matrixat1.5.0. capability-matrix continues the root release line rather than restarting at0.x, so consumer pins migrate fromv1.5.0tocapability-matrix-v1.6.0without a version regression.packages/capability-matrix/package.jsonis aligned to1.5.0for the same reason.sdk-compliance-*actions move from.github/actions/topackages/capability-matrix/actions/(pure renames), and the five reusable workflow wrappers update their references. The wrappers resolve the actions through the_sdk-speccheckout pinned atjob.workflow_sha, so existing consumer pins keep resolving the old layout at their own SHA; nothing breaks for repos still onv1.x.CLAUDE.md: documents the new layout and release flow.First-release version pins
Release-please bootstraps a tagless component by scanning the entire history, and it honors old unscoped
chore: release X.Y.Zcommits as implicit Release-As overrides that beat the manifest version. That is why #114 currently proposes 1.3.0 for postgrest-typegen: it picked upchore: release 1.3.0(#97), which never touched the package. Both components therefore carry a temporary pin:packages/postgrest-typegen:release-as: 0.1.0, matching itspackage.json. chore: release main #114 regenerates to 0.1.0 once this merges.packages/capability-matrix:release-as: 1.6.0, continuing the root line.release-asis sticky: each pin must be removed in a follow-up right after that component's first release merges.How consumers version the reusable workflows after this
GitHub requires
workflow_callworkflows to live in.github/workflows/, so the wrappers cannot move. With the compliance logic insidepackages/capability-matrix, any meaningful change to workflow behavior lands in the package and cuts acapability-matrix-vX.Y.Ztag. SDK repos pin that tag directly:A tag is just a ref, and
job.workflow_sharesolves tooling, actions, and spec from that same commit, so the whole bundle travels with the capability-matrix version. Dependabot handles the prefixed tag format: it derives the prefix from the current pin and only offers updates within the same tag family, socapability-matrix-v*pins stay on their line. The initial repin fromv1.xis a one-time manual change per consumer repo.The wrappers become thin shims (checkout plus action reference). A wrapper-only change does not bump the capability-matrix component by itself; if one ever needs to ship alone, force a release with a
Release-As: x.y.zcommit footer.Merge order
@supabase/postgrest-typegenneeds a one-time manual bootstrap on npm: stub-publish a version below 0.1.0, then configure the trusted publisher forrelease.yml.release-aspin after that component's first release, then bump consumer repo pins tocapability-matrix-v1.6.0.