Skip to content

Support configurable Cloud Query failure responses - #3315

Merged
adamtheturtle merged 1 commit into
mainfrom
adamtheturtle/issue-3314
Aug 4, 2026
Merged

Support configurable Cloud Query failure responses#3315
adamtheturtle merged 1 commit into
mainfrom
adamtheturtle/issue-3314

Conversation

@adamtheturtle

Copy link
Copy Markdown
Member

Closes #3314 by adding a public CloudQueryFailureResponse and MockVWS.cloud_query_failure_response override so valid Cloud Query requests can exercise documented 4xx and 5xx response shapes through both requests and httpx.

The configured response preserves exact status, headers, UTF-8 text, empty bodies, and raw bytes, while default query behavior remains unchanged and the Flask/Docker boundary is documented.

Tests cover empty 4xx, arbitrary-text 4xx, and raw-byte 5xx responses on both backends, with the CI matrix, changelog, and API docs updated.

Validated with 79 passing tests, 2 existing skips, pre-commit and pre-push checks, a warning-as-error Sphinx build, and all configured type checkers.

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.

Support configurable Cloud Query failure responses

1 participant