Skip to content

Fix volume lookups broken by GraphQL API change - #5039

Merged
lillianberryfly merged 1 commit into
masterfrom
fork-from-flaps-volume-lookup
Jul 31, 2026
Merged

Fix volume lookups broken by GraphQL API change#5039
lillianberryfly merged 1 commit into
masterfrom
fork-from-flaps-volume-lookup

Conversation

@lillianberryfly

Copy link
Copy Markdown
Contributor

The node(id:) GraphQL field was removed, which broke
GetAppNameFromVolume and friends — and with them fly postgres create
--fork-from, fly volumes show/destroy/update, and the snapshot
commands when given a bare volume ID.

  • Bump fly-go to v0.9.2, which moves those queries to the volume(id:)
    root query
  • Drop the GraphQL lookup from postgres create --fork-from entirely:
    the Machines API volume lookup is already scoped to the fork-from
    app, so it both resolves the volume and validates ownership

Co-Authored-By: Claude Fable 5 noreply@anthropic.com

The node(id:) GraphQL field was removed, which broke
GetAppNameFromVolume and friends — and with them fly postgres create
--fork-from, fly volumes show/destroy/update, and the snapshot
commands when given a bare volume ID.

- Bump fly-go to v0.9.2, which moves those queries to the volume(id:)
  root query
- Drop the GraphQL lookup from postgres create --fork-from entirely:
  the Machines API volume lookup is already scoped to the fork-from
  app, so it both resolves the volume and validates ownership

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@lillianberryfly
lillianberryfly merged commit 0f39cb6 into master Jul 31, 2026
22 of 24 checks passed
@lillianberryfly
lillianberryfly deleted the fork-from-flaps-volume-lookup branch July 31, 2026 11:56
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