Repository navigation
Release 2.8.1 - fix(client): security hardening - #233
Conversation
🟡 Risk Classification: MINORApproval route: AI Review + Human Approval Classification reasons
Operational gates
Files analysed: 1 wall-e 2026.06.19-02 · policy |
🔬 Debug — why this classification?Each reason code emitted by the classifier, its source clause in the AI in SDLC Control Framework, and what it means.
Kinds:
See issue #3 for the proposal to formalise this map as Appendix A of the standards doc. wall-e 2026.06.19-02 · debug |
🟠 Advisory review: Concerns worth a lookThis PR needs a human approval. Before you give it, these are the things I'd want resolved. The diff contains only the version bump in Concerns
This is not an approval. wall-e cannot auto-approve this PR — it is an opinion to help whoever does. Advisory review · us.anthropic.claude-sonnet-4-6 · wall-e 2026.06.19-02 |
|



Summary
Security hardening (reported internally) in the authentication client, error handling and request logging. No public API is removed; one exception type changes on the OAuth token request (see Breaking changes). Token request client errors (4xx) raise
CheckoutAuthorizationException; server errors keep their Faraday class, without request data.Changes
lib/checkout_sdk/api_client.rb: error handling for requests and file uploads; request log lines.lib/checkout_sdk/events/events_client.rb:retrieve_all_event_typesbuilds its query withURI.encode_www_form.spec/checkout_sdk/oauth_sdk_credentials_spec.rb: new, OAuth token responses (success, 4xx, 5xx, timeout).spec/checkout_sdk/api_client_spec.rb: request logging and error data tests.spec/checkout_sdk/checkout_utils_spec.rb: new,loggable_path.spec/checkout_sdk/events/events_client_spec.rb: new, event types query.lib/checkout_sdk/checkout_utils.rb: shared helpers for log lines, exception messages and error data; default clients configureraise_errorwithinclude_request: false.lib/checkout_sdk/error.rb: both exceptions build their message with the shared helper;CheckoutAuthorizationExceptionexposeshttp_metadata.lib/checkout_sdk/oauth_sdk_credentials.rb: token request errors handled through the shared helpers.README.md: custom HTTP client note oninclude_request: false(Faraday 2.7.11 or later).API Reference
None.
Breaking changes⚠️
CheckoutAuthorizationExceptionreadsThe OAuth token response status code (<status>) does not indicate success.followed by the response details, orThe OAuth token request failed without a response.when there is no response.CheckoutApiExceptiondetails are limited to 256 characters, and nested values render as plain values.http_metadata/error_detailsinstead of parsing messages.Tests
rubocop lib; integration tests run in CI against the sandbox)Related
None.