Skip to content

feat: always send product with catalog availability requests - #84

Merged
brodykellish merged 1 commit into
mainfrom
feat/catalog-availability-product
Aug 14, 2026
Merged

feat: always send product with catalog availability requests#84
brodykellish merged 1 commit into
mainfrom
feat/catalog-availability-product

Conversation

@brodykellish

Copy link
Copy Markdown
Contributor

The next v2 API release makes product required with include=AVAILABILITY on the catalog GPU endpoints (400 without it). list-gpu-types and get-gpu-type now always send it, via a new optional product param (POD | CLUSTER | SERVERLESS, default POD), omitted when includeAvailability is false since the API also rejects product without the include. CPU catalog tools never request availability, so they're unchanged.

Note: refreshing the vendored spec fixture (pnpm tsx scripts/fetch-v2-spec.ts) trips the parity gate on 9 uncovered dev endpoints (ssh-keys, clusters, catalog/templates) — left for a separate PR, fixture untouched here.

Test plan: pnpm test (697 pass) including new URL assertions for product pass-through, omission without availability, and junk-value fallback; pnpm type-check and pnpm lint clean.

@vercel

vercel Bot commented Aug 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
runpod-mcp Ignored Ignored Aug 14, 2026 10:04pm

Request Review

@justinwlin
justinwlin self-requested a review August 14, 2026 22:56
@brodykellish
brodykellish merged commit 51d6fd9 into main Aug 14, 2026
6 checks passed
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