Repository navigation
Conversation
Adds WaitFunctionOperation, which polls a CreateFunction or UpdateFunction operation until it is done and unpacks the resulting Function, and marks the longrunning, gax-go and genproto/googleapis/rpc modules as direct requirements. Only the error paths are tested here; no command calls WaitFunctionOperation yet.
annguy3n
force-pushed
the
udf/07-operation-waiter
branch
from
November 23, 2026 23:12
55326c2 to
5f438ac
Compare
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.
WaitFunctionOperation, which polls an operation with backoff until done and unpacks the resultingFunction.go.mod:longrunning,gax-goandgenproto/googleapis/rpcbecome direct requirements.Reviewer notes: error paths are tested here. The success path is exercised by the
createfunctiontests in PR 8. The client constructor gains a backoff argument in this PR.Stack: 7 of 12. Original implementation by @shantstepanian in #373; this stack re-slices that change into reviewable pieces.
Draft: the Function admin messages and RPCs are not yet in a released
cloud.google.com/go/bigtable, so this does not build against the public module. It was built and tested against locally generated admin protos. The stack leaves draft once a module release includes them andgo.modis bumped.