feat: retry logic on chunks stream requests#83
Merged
TordAreStromsnes merged 2 commits intomainfrom Mar 13, 2026
Merged
Conversation
Qif-Equinor
approved these changes
Mar 13, 2026
TordAreStromsnes
pushed a commit
that referenced
this pull request
Mar 13, 2026
🤖 I have created a release *beep* *boop* --- ## [1.6.0](v1.5.0...v1.6.0) (2026-03-13) ### Features * retry logic on chunks stream requests ([#83](#83)) ([c8f7e39](c8f7e39)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bulk Data Streaming Reliability:
stream_retriesparameter toget_bulk_data_streamand the underlying_request_binary_streammethod, enabling automatic retries for transient failures during streaming. Retries resume after the bytes already yielded, assuming deterministic endpoint behavior.Documentation and Example Improvements:
stream_retriesparameter, explain its usage, and clarify that streaming timeouts apply to connection setup and waiting for new bytes, not the total download duration.README.md, guides, and API docs to demonstrate how to usestream_retriesand set appropriate timeouts when streaming large binary datasets.Configuration and Example Consistency:
dsis_siteparameter and to use the correct environment (e.g., "qa" or "prod") as appropriate for the context.Other Documentation Cleanups:
model_nameandmodel_versionfrom some guide examples to prevent confusion.