Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: [Many APIs] improve retry logic for streaming API calls #4962

Merged
merged 6 commits into from
Jan 23, 2024

Conversation

gcf-owl-bot[bot]
Copy link
Contributor

@gcf-owl-bot gcf-owl-bot bot commented Jan 19, 2024

  • Regenerate this pull request now.

build: update typescript generator version to 4.3.0

The streaming API call retry logic has changed, which in some rare cases may require code changes. Please feel free to reach out to us in the issues if you experience new problems with retrying streaming calls after this update.

PiperOrigin-RevId: 599622271

Source-Link: googleapis/googleapis@6239c21

Source-Link: https://github.com/googleapis/googleapis-gen/commit/da13d8222d3ba33734501999864458640f1405ae
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWFuYWx5dGljcy1hZG1pbi8uT3dsQm90LnlhbWwiLCJoIjoiZGExM2Q4MjIyZDNiYTMzNzM0NTAxOTk5ODY0NDU4NjQwZjE0MDVhZSJ9
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWFuYWx5dGljcy1kYXRhLy5Pd2xCb3QueWFtbCIsImgiOiJkYTEzZDgyMjJkM2JhMzM3MzQ1MDE5OTk4NjQ0NTg2NDBmMTQwNWFlIn0=
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWFwaS1hcGlrZXlzLy5Pd2xCb3QueWFtbCIsImgiOiJkYTEzZDgyMjJkM2JhMzM3MzQ1MDE5OTk4NjQ0NTg2NDBmMTQwNWFlIn0=
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWFwaS1zZXJ2aWNlY29udHJvbC8uT3dsQm90LnlhbWwiLCJoIjoiZGExM2Q4MjIyZDNiYTMzNzM0NTAxOTk5ODY0NDU4NjQwZjE0MDVhZSJ9
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWFwaS1zZXJ2aW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MjJkM2JhMzM3MzQ1MDE5OTk4NjQ0NTg2NDBmMTQwNWFlIn0=
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWJleW9uZGNvcnAtYXBwY29ubmVjdGlvbnMvLk93bEJvdC55YW1sIiwiaCI6ImRhMTNkODIyMmQzYmEzMzczNDUwMTk5OTg2NDQ1ODY0MGYxNDA1YWUifQ==

build: update typescript generator version to 4.3.0

The streaming API call retry logic has changed, which in some rare cases may require code changes. Please feel free to reach out to us in the issues if you experience new problems with retrying streaming calls after this update.

PiperOrigin-RevId: 599622271

Source-Link: googleapis/googleapis@6239c21

Source-Link: googleapis/googleapis-gen@da13d82
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWFuYWx5dGljcy1hZG1pbi8uT3dsQm90LnlhbWwiLCJoIjoiZGExM2Q4MjIyZDNiYTMzNzM0NTAxOTk5ODY0NDU4NjQwZjE0MDVhZSJ9
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWFuYWx5dGljcy1kYXRhLy5Pd2xCb3QueWFtbCIsImgiOiJkYTEzZDgyMjJkM2JhMzM3MzQ1MDE5OTk4NjQ0NTg2NDBmMTQwNWFlIn0=
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWFwaS1hcGlrZXlzLy5Pd2xCb3QueWFtbCIsImgiOiJkYTEzZDgyMjJkM2JhMzM3MzQ1MDE5OTk4NjQ0NTg2NDBmMTQwNWFlIn0=
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWFwaS1zZXJ2aWNlY29udHJvbC8uT3dsQm90LnlhbWwiLCJoIjoiZGExM2Q4MjIyZDNiYTMzNzM0NTAxOTk5ODY0NDU4NjQwZjE0MDVhZSJ9
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWFwaS1zZXJ2aWNlbWFuYWdlbWVudC8uT3dsQm90LnlhbWwiLCJoIjoiZGExM2Q4MjIyZDNiYTMzNzM0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joicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWJleW9uZGNvcnAtYXBwY29ubmVjdGlvbnMvLk93bEJvdC55YW1sIiwiaCI6ImRhMTNkODIyMmQzYmEzMzczNDUwMTk5OTg2NDQ1ODY0MGYxNDA1YWUifQ==
@dpebot
Copy link
Collaborator

dpebot commented Jan 19, 2024

/gcbrun

@gcf-owl-bot gcf-owl-bot bot marked this pull request as ready for review January 19, 2024 01:36
@gcf-owl-bot gcf-owl-bot bot requested review from yoshi-approver and a team as code owners January 19, 2024 01:36
@dpebot
Copy link
Collaborator

dpebot commented Jan 19, 2024

/gcbrun

@dpebot
Copy link
Collaborator

dpebot commented Jan 19, 2024

/gcbrun

@dpebot
Copy link
Collaborator

dpebot commented Jan 19, 2024

/gcbrun

@dpebot
Copy link
Collaborator

dpebot commented Jan 19, 2024

/gcbrun

@@ -177,7 +177,8 @@ export class TetherClient {
this.descriptors.stream = {
egress: new this._gaxModule.StreamDescriptor(
this._gaxModule.StreamType.BIDI_STREAMING,
!!opts.fallback
!!opts.fallback,
/* gaxStreamingRetries: */ true

Choose a reason for hiding this comment

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

Can we write in this way? Looks cleaner.

Suggested change
/* gaxStreamingRetries: */ true
true /* gaxStreamingRetries: */

Copy link
Contributor

Choose a reason for hiding this comment

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

Hi @tanvirstreame, this code is autogenerated from the generator (gapic-generator-typescript) and touches all APIs in the library. If you feel strongly, feel free to create an issue here: https://github.com/googleapis/gapic-generator-typescript

@sofisl sofisl merged commit e49b31d into main Jan 23, 2024
13 checks passed
@sofisl sofisl deleted the owl-bot-copy-c0a1e236cf9949638011 branch January 23, 2024 07:24
@release-please release-please bot mentioned this pull request Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants