Repository navigation
ci(release): backport Docker workflow and PostHog endpoint cleanup to v2.x - #7701
Merged
Merged
Conversation
…ndpoint to a variable Remove the never-run migra and pg_prove Docker Hub publish workflows and read the PostHog endpoint from a repository variable. The Sentry DSN stays a secret because the v2 Go binary still reports to Sentry. (cherry picked from commit 8cbcd41) Generated with AI Co-Authored-By: Claude <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
🤖 AI Review
Confirmed one release-configuration issue: if POSTHOG_ENDPOINT is still configured only as a secret, the next release will build successfully but silently lose its configured telemetry endpoint. The checkout cannot establish whether the replacement Actions variable has already been provisioned. No additional findings were verified. No CLI reference prose changed, and the prose guidance snapshot was unavailable.
Findings
| Severity | Location | Category | Sources | Claim |
|---|---|---|---|---|
| 🟠 MAJOR | .github/workflows/build-cli-artifacts.yml:55 |
release-configuration |
codex | Release builds silently drop the configured PostHog endpoint when POSTHOG_ENDPOINT exists only as an Actions secret. The release still ships with the API key, so telemetry can go to the default host instead of the intended endpoint. |
Stats
Claude findings: 0 · Codex findings: 1 · Confirmed: 1 · Refuted: 0 · Uncertain: 0
Models: claude-opus-5-5 + gpt-6.2-sol · Trigger: auto · Workflow run
This review runs once per PR. A maintainer can request another with a /ai-review comment.
…ble is unset Generated with AI Co-Authored-By: Claude <noreply@anthropic.com>
… exists Generated with AI Co-Authored-By: Claude <noreply@anthropic.com>
Prashansa-K
approved these changes
Nov 19, 2026
TFSebben
pushed a commit
to TFSebben/supabase_cli
that referenced
this pull request
Nov 19, 2026
## Summary Reduces the Actions secrets these workflows need. - Deletes `publish-migra.yml` and `publish-pg-prove.yml`, leaving the `DOCKER_USERNAME` and `DOCKER_PASSWORD` secrets unused on this branch. This is a trade-off. The workflows last pushed `supabase/migra:3.0.1663481299` and `supabase/pg_prove:3.36` to Docker Hub on 2024-01-02, and their run history has since expired. After this change the repo can no longer rebuild either image. The mirror workflow still copies the existing tags to `public.ecr.aws`, which `supabase test db` pulls. Neither image has changed in about two years, so we accept that. The Dependabot config comment now says those two images stay at their current pins. - Reads `POSTHOG_ENDPOINT` from a repository variable instead of a secret. The build bakes the endpoint into the published CLI, so it isn't sensitive. `POSTHOG_API_KEY` stays a secret. - Stops passing `SENTRY_DSN` to the build. Nothing has read it since the Go binary was removed. ## Backport supabase#7701 brings the same cleanup to `v2.x`, with one difference: `SENTRY_DSN` stays a secret there. The v2 Go binary uses it to send an error report to Sentry when a user passes `--create-ticket`. ## Linked issue Part of CLI-3161 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude <noreply@anthropic.com>
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
Backports #7699 to
v2.x, with one difference.cli-go-publish-migra.ymlandcli-go-pg-prove.yml, thev2.xnames for the Docker Hub publish workflows removed ondevelop. This is the same trade-off as ondevelop: the images they last pushed on 2024-01-02 (supabase/migra:3.0.1663481299andsupabase/pg_prove:3.36) stay published, but the repo can no longer rebuild them.POSTHOG_ENDPOINTfrom a repository variable instead of a secret.POSTHOG_API_KEYstays a secret.SENTRY_DSNstays a secret here. The v2 Go binary gets it at build time and uses it to send an error report to Sentry when a user passes--create-ticket.Linked issue
Part of CLI-3161
🤖 Generated with Claude Code