audited error codes - #3073
Conversation
|
|
|
SummaryCoverage spans core database behavior, including normal reads and writes, arithmetic and timestamp boundary conditions, invalid input handling, error-code and message preservation, constraint and catalog failures, transaction rollback, connection recovery, and concurrent update retries. The run primarily exercises backend correctness, edge cases, and adversarial failure-and-recovery paths, with no application behavior showing a regression. Safe to merge — all exercised application behaviors passed, with no regressions, new failures, or previously flagged failures attributable to this PR. Some broader client-environment scenarios were unavailable, but they produced no product failure and are a flag for later rather than a merge blocker. Tests run by Ito
Tip Reply with @itoqa to send us feedback on this test run. |
|
Diff SummaryThe run covered database error handling for malformed queries and unsupported types, including correct error classification, clean client-facing behavior, and recovery for subsequent queries. This represents adversarial edge cases alongside basic post-error usability and session health. Safe to merge — the exercised error-handling and recovery behaviors showed no regressions or new failures attributable to this PR. There are no merge-blocking findings in this run. Tests run by Ito
Tip Reply with @itoqa to send us feedback on this test run. |
Hydrocharged
left a comment
There was a problem hiding this comment.
LGTM! I support this new error code direction

This PR audits error code processing to ensure that all common error codes typically examined by clients are correctly returned by the server. In particular, some clients interpret an XX000 error code by terminating the connection to the server, so we need to be careful to only return that code on a catastrophic, unexpected error.
Also adds new client library tests that ensure clients behave as expected in response to these codes.