Skip to content

deploy: update prod to v1.7.4 - #1226

Merged
rdimitrov merged 1 commit into
mainfrom
promote-prod-v1.7.4
Apr 29, 2026
Merged

rdimitrov merged 1 commit into
mainfrom
promote-prod-v1.7.4

Conversation

@rdimitrov

Copy link
Copy Markdown
Member

Summary

Promotes v1.7.4 (#1225) to production: registry pod memory request 256Mi → 512Mi, limit 512Mi → 1Gi.

Why

#1221 doubled pgxpool MaxConns 30→60 per pod without bumping the registry pod memory limit. pgxpool keeps per-connection state in the Go process (prepared statement cache, scratch buffers, row iteration state) so peak per-pod memory shifted from ~330 MB to ~450 MB against the 512 MiB limit. Pod tx49f was OOMKilled at 17:01 UTC on 2026-04-29.

Validation so far

Deployment

Zero downtime — Deployment template change only, rolling update with maxSurge: 1, maxUnavailable: 0. No PG involvement (no max_connections change, no shared_preload_libraries change).

Test plan

  • v1.7.4 release built and pushed (ghcr.io/modelcontextprotocol/registry:1.7.4)
  • Staging deployed cleanly with new limits
  • Prod Pulumi run applies cleanly; rolling update completes
  • Prod pods come up with req=512Mi limit=1Gi
  • After 24h: no OOMKills on either pod, peak memory stays under ~600 MB

🤖 Generated with Claude Code

Promotes #1225: registry pod memory request 256Mi→512Mi, limit 512Mi→1Gi.

Sized for the doubled pgxpool MaxConns (60/pod after #1221) — pgxpool
keeps per-connection state in the Go process so memory grew from ~330MB
peak to ~450MB peak under scraper load. Pod tx49f was OOMKilled at
17:01 UTC on 2026-04-29 against the old 512MiB ceiling.

Zero downtime deploy — Deployment template change only, no PG involvement.
Staging picked up the new limits cleanly via deploy-staging on the merge
of #1225, both pods stayed healthy through the rolling update.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@rdimitrov
rdimitrov merged commit f7663fe into main Apr 29, 2026
5 checks passed
@rdimitrov
rdimitrov deleted the promote-prod-v1.7.4 branch April 29, 2026 18:43
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.

1 participant