Skip to content

fix(client): close HTTP error response bodies - #116

Open
Chris0Jeky wants to merge 1 commit into
google:mainfrom
Chris0Jeky:codex/submit-http-cleanup
Open

Chris0Jeky wants to merge 1 commit into
google:mainfrom
Chris0Jeky:codex/submit-http-cleanup

Conversation

@Chris0Jeky

Copy link
Copy Markdown

HTTP error responses stayed open after the client decoded their bodies. This closes them even when reading fails, while preserving the mapped exception, status and cause.

The 24 client tests pass on Windows and Linux. The new closure assertions fail without the fix.

Full locked tests still have the same 92 failing IDs as base; repository lint has the same 11 findings. Formatting and protected-core type checks pass.

Test: PYTHONPATH=packages/artemis-client/src python -m unittest discover -s packages/artemis-client/tests -v

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.

1 participant