fix: surface endpoint errors and bump patch version to 1.0.9 - #312
Open
krowvin wants to merge 5 commits into
Open
fix: surface endpoint errors and bump patch version to 1.0.9#312krowvin wants to merge 5 commits into
krowvin wants to merge 5 commits into
Conversation
|
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.



Multi-series reads could still log failures and return incomplete data, malformed JSON could be returned as text, and custom user-management errors could hide CDA response details.
Related work:
Changes:
BatchError(aRuntimeErrorsubclass) for failed concurrent reads/writes, retaining every original exception infailures. Propagate extent lookup failures and invalid JSON responses; restrict chunk retries to transient failures. Successful writes are not rolled back.Audited all 33 endpoint modules and their request paths. Shared coverage includes GET, XML GET, paginated GET, POST, POST with returned data, PATCH, and DELETE.
Local validation: 186 mock/doctest tests pass, strict mypy passes for 38 source files, and Black/isort/whitespace checks pass. New regressions were also run against merged main to confirm the existing gaps. Tests cover eight HTTP error statuses across all request helpers, transport failures, malformed/empty responses, second-page failures, user-role deletion, partial concurrent reads/writes, initialization ordering, and retry behavior. No live database matrix was run for this change.
Compatibility note: callers now receive errors where incomplete results or fallback text were previously returned. Existing
RuntimeErrorhandlers continue to catch batch failures. The shared HTTP adapter's retry policy is unchanged.