Skip to content

ssp client: retry on 5xx responses#830

Merged
roeierez merged 1 commit into
mainfrom
jssdwt-graphql-500
Apr 28, 2026
Merged

ssp client: retry on 5xx responses#830
roeierez merged 1 commit into
mainfrom
jssdwt-graphql-500

Conversation

@JssDWt
Copy link
Copy Markdown
Collaborator

@JssDWt JssDWt commented Apr 25, 2026

In #829 CI failed with an integration test error. I'm assuming the response is something like a 502 error.

Error: SparkSdkError: Service error: service provider error: serialization error: Json error: expected value at line 1 column 1

This PR adds retry to the graphql client for the SSP. So if 502 is returned, we retry once with a delay of 50ms. The retry is configurable.

Copy link
Copy Markdown
Member

@roeierez roeierez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@roeierez roeierez merged commit 99c3b35 into main Apr 28, 2026
24 of 26 checks passed
@roeierez roeierez deleted the jssdwt-graphql-500 branch April 28, 2026 17:59
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.

3 participants