Skip to content

refactor: use REST for global volume operations - #619

Open
KAJdev wants to merge 2 commits into
mainfrom
feat/global-volumes-rest
Open

KAJdev wants to merge 2 commits into
mainfrom
feat/global-volumes-rest

Conversation

@KAJdev

@KAJdev KAJdev commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Route Apps SDK global volume listing and creation through the shared REST transport and /v2/global-volumes contract from runpod/rphttp2#348. Follow every cursor page so volume resolution sees all matching IDs and names, and send creation requests once to avoid duplicate volumes after ambiguous failures

@KAJdev
KAJdev requested a review from deanq October 14, 2026 22:22
@deanq
deanq requested a balanced review from Copilot October 15, 2026 00:02

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

馃煝 Approval recommended

No blocking issues were identified in the transport migration, pagination, or regression coverage; tests were not run.

0 open findings

What changed in this PR

Moves Apps SDK global volume operations to the shared REST transport and /v2/global-volumes contract.

Changes:

  • Lists volumes across all cursor pages.
  • Sends creation requests once and removes obsolete GraphQL definitions.
  • Adds regression coverage for pagination, resolution, and error propagation.
File Description
tests/鈥媡est_apps/鈥媡est_api_client.py Tests REST calls, pagination, resolution, and single-attempt creation.
runpod/鈥媋pps/鈥媋pi.py Routes global volume listing and creation through REST.
runpod/鈥媋pi/鈥媞ueries/鈥媋pps.py Removes the obsolete global volume query.
runpod/鈥媋pi/鈥媘utations/鈥媋pps.py Removes the obsolete global volume mutation.

馃 Review effort: Balanced


馃挕 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@deanq deanq left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

8 inline comments below.

Comment thread runpod/apps/api.py Outdated
Comment thread runpod/apps/api.py Outdated
Comment thread runpod/apps/api.py Outdated
Comment thread runpod/apps/api.py Outdated
Comment thread runpod/apps/api.py Outdated
Comment thread runpod/apps/api.py Outdated
Comment thread runpod/apps/api.py Outdated
Comment thread runpod/apps/api.py

This branch has not been deployed

No deployments
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.

3 participants