Repository navigation
deploy: update prod to v1.7.2 - #1216
Merged
Merged
Conversation
Promotes #1215 to production: row-constructor cursor pagination fix, per-phase publish slog, and pg_stat_statements enablement. Note: the CNPG spec change in v1.7.2 triggers an in-pod postgres restart on the next prod Pulumi run. Staging took ~45-70s of registry unavailability during the equivalent restart — DB retry budget covered most of it but exited on attempt 8/8 once before pod recovery. Same will happen on prod when this PR is merged. Time the merge for a low-traffic UTC window. Run `CREATE EXTENSION IF NOT EXISTS pg_stat_statements` on prod once after the deploy (existing cluster; fresh clusters get it via postInitApplicationSQL). Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
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
Promotes v1.7.2 (PR #1215) to production:
publish completeevents now include validate / lock / remotes / version_checks / unmark / db_create timings so the next slow publish is self-diagnostic.Deployment caveat
The CNPG cluster spec change for
pg_stat_statementstriggers an in-pod postgres restart on the next prod Pulumi run. Staging took ~45–70s of registry unavailability during the equivalent restart. The DB retry-with-backoff in v1.7.1 covers most of it, but registry pods may bounce once before they reconnect (one staging pod hitFailed to connect after 8 attemptsthen recovered on its next restart).Time the merge for a low-traffic UTC window — the alert history suggests very early UTC is quietest.
Post-merge action
Once the prod Pulumi run completes, run once on the existing cluster:
Verify:
Test plan
ghcr.io/modelcontextprotocol/registry:1.7.2)pg_stat_statementsis collecting on stagingCREATE EXTENSIONon prodpublish completeevents contain per-phase timings on the next publish🤖 Generated with Claude Code