Repository navigation
Conversation
feywind
added this pull request to stack #36644
October 16, 2026 20:52
This was referenced Oct 16, 2026
This branch has not been deployed
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.
Stack Structure (Stack #36644)
hedging/options-and-token-buckethedging/coordinator-and-schedulerhedging/queue-integrationhedging/queue-unit-testshedging/system-testsSummary
Implements Layer 4 of Cloud Pub/Sub Publish Hedging (
go/sdk:pubsub-hedging) forgoogle-cloud-pubsub:AsyncPublisherhedging unit tests (test/google/cloud/pubsub/async_publisher_hedging_test.rb):enabled: false, bounds/timeout validation onAsyncPublisher.newandpubsub.publisher, mutual exclusion withenable_message_ordering!, and ordered batch bypass.0.0), warmup to1.0token, hedge consumption, and rate-limited logging onpubsub:publish-hedged.attempt 0;attempt 0wins beforehedge_delay;attempt 0wins after hedge dispatch and cancelsattempt 1; multiple hedging (attempt 2wins and cancelsattempt 0andattempt 1).attempt 0fails terminally.Service#publish&TopicAdmin::Clientcancellation unit tests (test/google/cloud/pubsub/service_test.rb):CancellableRetryPolicyconstruction, mid-flight gRPCOperation#cancelwithout retryingGRPC::Cancelled, and immediate interruption of retry backoff sleep.