Skip to content

Conversation

@adriencaccia
Copy link
Member

No description provided.

@adriencaccia adriencaccia requested a review from art049 September 16, 2025 16:19
@adriencaccia adriencaccia marked this pull request as draft September 16, 2025 17:06
Comment on lines +19 to +24

// Client without retry middleware for streaming uploads (can't be cloned)
pub static ref STREAMING_CLIENT: reqwest::Client = ClientBuilder::new()
.user_agent("codspeed-runner")
.build()
.unwrap();
Copy link
Member

Choose a reason for hiding this comment

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

would be great to find a way to have the retries even when streaming the body

Copy link
Member Author

Choose a reason for hiding this comment

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

As seen in https://github.com/TrueLayer/reqwest-middleware/pull/51/files?w=1#diff-474abab8d90fcf4a3811b4faa74eff00faa8c9c190c9fd2e47991de8b2f4d64eR38-R49, it is not possible out of the box.
We will need to create a middleware manually that implements streaming. I will take a look

@adriencaccia adriencaccia force-pushed the cod-1345-do-not-gzip-walltime-reports branch 2 times, most recently from 17acd7e to a92d6f5 Compare September 17, 2025 10:43
@adriencaccia adriencaccia marked this pull request as ready for review September 17, 2025 11:56
@adriencaccia adriencaccia requested a review from art049 September 17, 2025 13:43
@adriencaccia adriencaccia force-pushed the cod-1345-do-not-gzip-walltime-reports branch from a92d6f5 to 65a2980 Compare September 19, 2025 14:13
@adriencaccia adriencaccia merged commit 65a2980 into main Sep 19, 2025
3 checks passed
@adriencaccia adriencaccia deleted the cod-1345-do-not-gzip-walltime-reports branch September 19, 2025 14:14
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