Repository navigation
Conversation
KAJdev
added this pull request to stack #642
October 20, 2026 00:46
There was a problem hiding this comment.
馃煛 Changes recommended
Cloud-tier handling and repeated CUDA constraints can produce misleading catalog results.
3 open issues
What changed in this PR
Adds rp catalog for REST v2 hardware pricing and regional stock searches, supported by shared CLI utilities.
Changes:
- Adds GPU, CPU, data-center, and serverless pool searches.
- Introduces shared hardware resolution, API, and terminal-output helpers.
- Adds shell completion and automated tests.
| File | Description |
|---|---|
| tests/鈥媡est_cli/鈥媡est_compute.py | Tests hardware resolution and catalog requests. |
| tests/鈥媡est_cli/鈥媡est_cli_output.py | Tests rendering and interactive helpers. |
| tests/鈥媡est_cli/鈥媡est_cli_api.py | Tests pagination and error handling. |
| tests/鈥媡est_cli/鈥媡est_catalog_command.py | Tests catalog commands and completion. |
| runpod/鈥媟p_cli/鈥媜utput.py | Adds shared output and interaction helpers. |
| runpod/鈥媟p_cli/鈥媘ain.py | Registers catalog and shell completion commands. |
| runpod/鈥媟p_cli/鈥媍ompute.py | Adds catalog access and hardware resolution. |
| runpod/鈥媟p_cli/鈥媍atalog.py | Implements catalog filtering and presentation. |
| runpod/鈥媟p_cli/鈥媋pi.py | Adds pagination and CLI error handling. |
Review effort: Balanced
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Adds GPU and CPU pricing, regional stock, and serverless pool search through REST v2. Shared hardware resolution, REST access, and terminal output keep resource commands consistent.