Skip to content

POST /v1/bundle: documented 'bundlers' query param is silently ignored #1531

Description

@yuanchen8911

Summary

POST /v1/bundle documents a bundlers query parameter ("Comma-delimited list of bundler types to execute"), but the server never reads it — every bundler runs regardless. The parameter is silently ignored.

Evidence

  • Documented: docs/user/api-reference.md (POST /v1/bundle → Query Parameters table, bundlers row).
  • pkg/bundler/handler.go: the bundleParams struct has no bundlers/bundler-filter field, and parseQueryParams reads set, dynamic, deployer, node-selector/toleration params, etc. — but never query["bundlers"].

So a request like POST /v1/bundle?bundlers=gpu-operator bundles every component in the recipe, contrary to the docs.

Fix options

  1. Implement the filter: parse bundlers, restrict generated output to the named bundler types.
  2. Or remove bundlers from the API until implemented.

Docs (#1528) caveat the parameter as "not currently honored" pending this issue.

Metadata

Metadata

Assignees

Type

Fields

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions