Skip to content

ci(release): backport Docker workflow and PostHog endpoint cleanup to v2.x - #7701

Open
kanadgupta wants to merge 3 commits into
v2.xfrom
backport/7699-prune-unused-secrets
Open

kanadgupta wants to merge 3 commits into
v2.xfrom
backport/7699-prune-unused-secrets

Conversation

@kanadgupta

@kanadgupta kanadgupta commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Summary

Backports #7699 to v2.x, with two differences.

  • Deletes cli-go-publish-migra.yml and cli-go-pg-prove.yml, the v2.x names for the Docker Hub publish workflows removed on develop. Neither has any recorded runs.
  • Reads POSTHOG_ENDPOINT from a repository variable instead of a secret. POSTHOG_API_KEY stays a secret.
  • Difference: SENTRY_DSN stays 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

…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>

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 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.

kanadgupta and others added 2 commits November 18, 2026 17:28
…ble is unset

Generated with AI

Co-Authored-By: Claude <noreply@anthropic.com>
… exists

Generated with AI

Co-Authored-By: Claude <noreply@anthropic.com>

This branch has not been deployed

No deployments
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.

2 participants