Skip to content

Route MPGv2 user and extension commands through the Machines API - #5146

Merged
tripledoublev merged 5 commits into
masterfrom
vincent/mpg-machines-users-extensions-flyctl
Aug 31, 2026
Merged

Route MPGv2 user and extension commands through the Machines API#5146
tripledoublev merged 5 commits into
masterfrom
vincent/mpg-machines-users-extensions-flyctl

Conversation

@tripledoublev

Copy link
Copy Markdown
Contributor

Moves the MPG v2 user and extension commands to the public Machines API.

  • lists, creates, updates, and deletes users
  • lists, enables, and disables extensions
  • resolves databases through the Machines API
  • falls back to the legacy API only for classified 404 responses
  • preserves existing flyctl output and error behavior
  • uses fly-go v0.9.12

Adds coverage for public routing, 404 fallback, non-404 errors, request mapping, and output compatibility.

The public extension API does not provide docs_url, so it is empty in JSON output on the public path.

@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.

LGTM!

@tripledoublev
tripledoublev merged commit f4bdd9d into master Aug 31, 2026
22 checks passed
@tripledoublev
tripledoublev deleted the vincent/mpg-machines-users-extensions-flyctl branch August 31, 2026 21:27
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