Skip to content

Prod deploy #3750

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 40 commits into from
Jul 1, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
e454cde
chore(deps): bump supabase/realtime from v2.36.18 to v2.36.20 in /pkg…
dependabot[bot] Jun 17, 2025
1773931
feat: hot reload eszip bundle when function source changes (#3710)
sweatybridge Jun 18, 2025
e1d6082
fix: bump edge-runtime to 1.68.0-develop.18 (#3727)
nyannyacha Jun 18, 2025
0f1e20f
feat: add CSVQ support for rule parsing (#3595)
encima Jun 18, 2025
86b9b7d
chore: sync API types from infrastructure (#3728)
kiwicopple Jun 18, 2025
66916d4
chore: sync API types from infrastructure (#3733)
kiwicopple Jun 18, 2025
5a1b6cd
fix: use go tool for dev dependencies (#3732)
sweatybridge Jun 18, 2025
58a366d
chore: sync API types from infrastructure (#3735)
kiwicopple Jun 19, 2025
9c3a439
chore(ci): add pr automerge on approval (#3736)
avallete Jun 19, 2025
ff10564
chore(deps): bump supabase/realtime from v2.36.20 to v2.37.2 in /pkg/…
dependabot[bot] Jun 19, 2025
3e8220f
chore(deps): bump supabase/supavisor from 2.5.2 to 2.5.3 in /pkg/conf…
dependabot[bot] Jun 20, 2025
a1f79b4
chore(deps): bump supabase/realtime from v2.37.2 to v2.37.3 in /pkg/c…
dependabot[bot] Jun 23, 2025
8ca836a
chore(deps): bump supabase/supavisor from 2.5.3 to 2.5.5 in /pkg/conf…
dependabot[bot] Jun 23, 2025
f3aaa49
fix: diff declarative schemas without supabase stop (#3747)
sweatybridge Jun 23, 2025
d609eac
chore(deps): bump github.com/andybalholm/brotli from 1.1.1 to 1.2.0 (…
dependabot[bot] Jun 24, 2025
48236f2
chore(deps): bump github.com/andybalholm/brotli from 1.1.1 to 1.2.0 i…
dependabot[bot] Jun 24, 2025
ad03264
feat: add support for before-user-created hook (#3749)
cstockton Jun 24, 2025
7f19e04
chore(deps): bump github.com/docker/cli from 28.2.2+incompatible to 2…
dependabot[bot] Jun 25, 2025
33123b9
chore(deps): bump supabase/postgres from 17.4.1.043 to 17.4.1.45 in /…
dependabot[bot] Jun 25, 2025
e731cb5
chore(deps): bump supabase/studio from 2025.06.16-sha-c4316c3 to 2025…
dependabot[bot] Jun 25, 2025
c552900
chore(deps): bump supabase/realtime from v2.37.3 to v2.37.7 in /pkg/c…
dependabot[bot] Jun 25, 2025
67d36ee
chore: sync API types from infrastructure (#3765)
kiwicopple Jun 25, 2025
372ed92
feat: add --prune option to remove orphaned functions after deploy (#…
IdrisCelik Jun 25, 2025
0a95b8c
chore: sync API types from infrastructure (#3769)
kiwicopple Jun 26, 2025
2542565
chore(deps): bump supabase/postgres from 17.4.1.45 to 17.4.1.47 in /p…
dependabot[bot] Jun 26, 2025
f5bc1f8
chore(deps): bump supabase/realtime from v2.37.7 to v2.37.9 in /pkg/c…
dependabot[bot] Jun 26, 2025
d8b76b1
chore(deps): bump supabase/storage-api from v1.24.6 to v1.24.7 in /pk…
dependabot[bot] Jun 26, 2025
3c15def
chore(deps): bump github.com/getsentry/sentry-go from 0.33.0 to 0.34.…
dependabot[bot] Jun 26, 2025
7f98a21
chore(deps): bump github.com/docker/docker from 28.2.2+incompatible t…
dependabot[bot] Jun 26, 2025
348d018
fix: skip unchanged functions when deploying (#3768)
sweatybridge Jun 26, 2025
2e8672d
fix: include scopes from deno.json (#3773)
sweatybridge Jun 26, 2025
9317de3
chore(deps): bump github.com/go-viper/mapstructure/v2 from 2.2.1 to 2…
dependabot[bot] Jun 30, 2025
bd30875
fix: handle nullable api key (#3774)
kiwicopple Jun 30, 2025
6fe4fad
chore(deps): bump go.opentelemetry.io/otel from 1.36.0 to 1.37.0 (#3776)
dependabot[bot] Jun 30, 2025
09d2f1b
chore(deps): bump supabase/realtime from v2.37.9 to v2.37.11 in /pkg/…
dependabot[bot] Jun 30, 2025
1f889d8
chore(deps): bump supabase/postgres from 17.4.1.47 to 17.4.1.048 in /…
dependabot[bot] Jun 30, 2025
f321e1e
chore(deps): bump supabase/supavisor from 2.5.5 to 2.5.6 in /pkg/conf…
dependabot[bot] Jun 30, 2025
b883899
chore(deps): bump supabase/studio from 2025.06.23-sha-17632f7 to 2025…
dependabot[bot] Jun 30, 2025
938ff46
fix: handle windows path separator when globbing (#3788)
sweatybridge Jun 30, 2025
d376088
chore: sync API types from infrastructure (#3789)
kiwicopple Jul 1, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/api-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:

- name: Create Pull Request
if: steps.check.outputs.has_changes == 'true'
id: cpr
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.GH_PAT }}
Expand All @@ -52,3 +53,9 @@ jobs:
labels: |
automated pr
api-sync

- name: Enable Pull Request Automerge
if: steps.check.outputs.has_changes == 'true'
run: gh pr merge --auto --squash "${{ steps.cpr.outputs.pull-request-number }}"
env:
GH_TOKEN: ${{ secrets.GH_PAT }}
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- uses: t1m0thyj/unlock-keyring@v1
- run: |
pkgs=$(go list ./pkg/... | grep -Ev 'pkg/api' | paste -sd ',' -)
go run gotest.tools/gotestsum -- -race -v -count=1 ./... \
go tool gotestsum -- -race -v -count=1 ./... \
-coverpkg="./cmd/...,./internal/...,${pkgs}" -coverprofile=coverage.out

- uses: coverallsapp/github-action@v2
Expand Down
3 changes: 3 additions & 0 deletions api/overlay.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@ actions:
- target: $.components.schemas.*.properties.connectionString
description: Removes deprecated field that conflicts with naming convention
remove: true
- target: $.components.schemas.*.properties.private_jwk.discriminator
description: Replaces discriminated union with concrete type
remove: true
4 changes: 3 additions & 1 deletion cmd/functions.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ var (
useLegacyBundle bool
noVerifyJWT = new(bool)
importMapPath string
prune bool

functionsDeployCmd = &cobra.Command{
Use: "deploy [Function name]",
Expand All @@ -73,7 +74,7 @@ var (
} else if maxJobs > 1 {
return errors.New("--jobs must be used together with --use-api")
}
return deploy.Run(cmd.Context(), args, useDocker, noVerifyJWT, importMapPath, maxJobs, afero.NewOsFs())
return deploy.Run(cmd.Context(), args, useDocker, noVerifyJWT, importMapPath, maxJobs, prune, afero.NewOsFs())
},
}

Expand Down Expand Up @@ -139,6 +140,7 @@ func init() {
cobra.CheckErr(deployFlags.MarkHidden("legacy-bundle"))
deployFlags.UintVarP(&maxJobs, "jobs", "j", 1, "Maximum number of parallel jobs.")
deployFlags.BoolVar(noVerifyJWT, "no-verify-jwt", false, "Disable JWT verification for the Function.")
deployFlags.BoolVar(&prune, "prune", false, "Delete Functions that exist in Supabase project but not locally.")
deployFlags.StringVar(&flags.ProjectRef, "project-ref", "", "Project ref of the Supabase project.")
deployFlags.StringVar(&importMapPath, "import-map", "", "Path to import map file.")
functionsServeCmd.Flags().BoolVar(noVerifyJWT, "no-verify-jwt", false, "Disable JWT verification for the Function.")
Expand Down
Loading