Skip to content

fix(mpg): decouple proxy readiness from credentials - #5048

Open
gargakshit wants to merge 2 commits into
masterfrom
akshit/fix-fly-mpg-proxy
Open

fix(mpg): decouple proxy readiness from credentials#5048
gargakshit wants to merge 2 commits into
masterfrom
akshit/fix-fly-mpg-proxy

Conversation

@gargakshit

@gargakshit gargakshit commented Aug 5, 2026

Copy link
Copy Markdown
Member

Change Summary

What and Why:

Allow fly mpg proxy to start when a cluster has a direct IP but database credentials are unavailable or still initializing. The raw network proxy does not require database credentials, while fly mpg connect still does.

How:

  • Separate cluster retrieval, credential resolution, and proxy parameter construction for MPGv1 and MPGv2.
  • Keep credential validation and explicit-user handling unchanged for fly mpg connect.
  • Make fly mpg proxy depend on the cluster direct IP rather than credential readiness.
  • Preserve missing-IP errors, WireGuard setup, bind/port configuration, and organization scoping.

Documentation

  • Fresh Produce
  • In superfly/docs, or asked for help from docs team
  • n/a

- Allow MPG v1 and v2 proxies to start without database credentials
- Preserve credential validation for `fly mpg connect`
- Add regression tests for proxy and connect credential handling
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