Repository navigation
Engine-only CI for prod (build postgres, reproducible) - #3
Merged
Merged
Conversation
prod carries only the engine PGRun deploys. Add a required CI check that builds the postgres engine binary reproducibly (--release --locked) from the committed Cargo.lock, using the same PostgreSQL 18 / RE2 toolchain as main. No pgx CLI, dist/ or local-dev suites run here — they are not on prod. Co-Authored-By: Claude Opus 4.8 <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.
Engine-only CI for
prodprodis the stable branch PGRun deploys, frozen at913630e11d(pgx-v0.1-beta.1). It predates the workflow directory, so it has no CI. Rather than fast-forwardmain's CI onto it (which would import non-engine history and CLI/dist jobs that don't exist onprod), this adds a single engine-only workflow by a dedicated reviewed change.What it does
cargo build --release --locked --bin postgresonubuntu-24.04, with the same PostgreSQL 18 / RE2 toolchain asmain's CI.Cargo.lock.pgxCLI, nodist/, no local-dev suites (none of which are onprod).Why this is a CI-only change to
prodIt adds one file under
.github/workflows/. It does not touch engine source, so buildingpostgresfrom this commit is byte-identical to building it from913630e11d. PGRun continues to pin the engine by exact SHA (913630e11d); advancing theprodbranch tip by this CI commit does not change the deployed engine.Check name (to be required on
prod):engine build (postgres).🤖 Generated with Claude Code