Skip to content

Conversation

@pengux
Copy link

@pengux pengux commented Dec 8, 2025

What changes are proposed in this pull request?

This fixes the issue with the request error being discarded when the request body is not able to be reset.

How is this tested?

Test are added to assert that both errors (resetErr and request's err) are wrapped in the returned error.

Fixes #1243

@pengux pengux changed the title feat: 1243 returns both resetErr and the request's err on retries.Halt fix: 1243 returns both resetErr and the request's err on retries.Halt Dec 10, 2025
@pengux pengux force-pushed the feat/1243/return-request-and-reset-errors branch from 094e65a to a3a7ead Compare December 10, 2025 09:32
@github-actions
Copy link

If integration tests don't run automatically, an authorized user can run them manually by following the instructions below:

Trigger:
go/deco-tests-run/sdk-go

Inputs:

  • PR number: 1363
  • Commit SHA: dcbfc47360e64b0aa1f439d1af4411e166a4d710

Checks will be approved automatically on success.

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.

[ISSUE] API client reset error overwrites real root cause

1 participant