Repository navigation
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: r4victor The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
suirindo
left a comment
There was a problem hiding this comment.
Could we add an async multi-document test with two failing objects that checks both api_exceptions and str(error)? With synthetic per-document failures, the patched function keeps both API errors and renders both reasons. Restoring append(failure) makes string formatting raise AttributeError instead. This is a regression-test suggestion, not a new defect; no cluster was contacted. AI-assisted review.
|
@suirindo, intentionally left out regression tests to avoid tests blow up. The type checker will catch such errors once it's integrated in the CI. |
|
/assign @yliaog |
What type of PR is this?
/kind bug
What this PR does / why we need it:
Make aio
create_from_yamlcollect the API exceptions from each failed document instead of nestingFailToCreateErrors, matching the sync version, soFailToCreateErrorcan be formatted andapi_exceptionsholdsApiExceptions.Which issue(s) this PR fixes:
Fixes #2827
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: