-
-
Notifications
You must be signed in to change notification settings - Fork 232
fix: fix and restore issues with release workflows #2035
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
Conversation
📝 WalkthroughWalkthrough.github/workflows/ami-release-nix.yml: hardcodes AWS region to "us-east-1" for stage‑1 and stage‑2 Packer builds and AMI lookups, and removes BRANCH_NAME extraction / branch‑suffix logic used to derive PG_VERSION on workflow_dispatch. ansible/vars.yml: bumps postgres_release entries — Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
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 |
9955df4 to
5f29470
Compare
…add missing -r flag to yq in publish-staging job
… all postgres versions from ansible/vars.yml to ensure all versions (15, 17, orioledb-17) are published.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In @.github/workflows/publish-nix-pgupgrade-scripts.yml:
- Around line 32-33: The workflow_dispatch input `postgresVersion` is now
misleading because `VERSIONS` is always read from `ansible/vars.yml` (see the
VERSIONS assignment using yq/jq); either remove or deprecate the
`workflow_dispatch.inputs.postgresVersion` input and update its description to
reflect that the action ignores manual version selection, or change the workflow
to honor that input before falling back to ansible/vars.yml. Locate the
`workflow_dispatch.inputs.postgresVersion` definition and either (A) remove it,
or (B) prepend a clear deprecation note to its description and, if desired, add
conditional logic to use `github.event.inputs.postgresVersion` only when present
and otherwise read `ansible/vars.yml` (ensure VERSIONS assignment or a wrapper
variable references that input when set).
Historical behavior (from git):
Actual AWS state:
Fix applied:
This restores the intended behavior for both workflow_dispatch and merge-triggered releases.
ansible/tasks/setup-supabase-internal.yml
publish-nix-pgupgrade-scripts.yml
ami-release-regions) from triggering prod publishing
publish-nix-pgupgrade-bin-flake-version.yml
ami-release-nix.yml
nix-build.yml
Summary by CodeRabbit