Skip to content

mpg: route database list/create through Machines API - #5135

Merged
tripledoublev merged 1 commit into
masterfrom
vincent/mpg-machines-databases-flyctl
Aug 27, 2026
Merged

mpg: route database list/create through Machines API#5135
tripledoublev merged 1 commit into
masterfrom
vincent/mpg-machines-databases-flyctl

Conversation

@tripledoublev

Copy link
Copy Markdown
Contributor

Summary

  • route MPGv2 database list / database create through the Machines API
  • fall back to the legacy MPG API only on 404 (cluster not served by the Machines API); other errors now surface
  • bump fly-go to v0.9.9 and add coverage for the 404 fallback, error paths, and JSON/table output compatibility

Uses the database endpoints added in superfly/fly-go#288.

Testing

  • go test ./... -count=1, race tests on affected packages, vet, lint, go generate check, build
  • live validation against a disposable MPG cluster: list (table + JSON), create + verify, destroy

@tomr-a5 tomr-a5 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@tripledoublev
tripledoublev merged commit cca99c4 into master Aug 27, 2026
40 of 43 checks passed
@tripledoublev
tripledoublev deleted the vincent/mpg-machines-databases-flyctl branch August 27, 2026 17:26
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