Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Remove @BetaApi annotations for streaming and LRO #704

Closed

Conversation

andreamlin
Copy link
Contributor

@andreamlin andreamlin commented Apr 9, 2019

As part of #702

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Apr 9, 2019
@andreamlin
Copy link
Contributor Author

PTAL

@codecov
Copy link

codecov bot commented Apr 9, 2019

Codecov Report

Merging #704 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #704   +/-   ##
=========================================
  Coverage     75.46%   75.46%           
  Complexity     1037     1037           
=========================================
  Files           196      196           
  Lines          4675     4675           
  Branches        363      363           
=========================================
  Hits           3528     3528           
  Misses          986      986           
  Partials        161      161
Impacted Files Coverage Δ Complexity Δ
...om/google/api/gax/rpc/ServerStreamingCallable.java 75% <ø> (ø) 7 <0> (ø) ⬇️
...oogle/api/gax/longrunning/OperationFutureImpl.java 76.19% <ø> (ø) 12 <0> (ø) ⬇️
...gle/api/gax/rpc/StateCheckingResponseObserver.java 75% <ø> (ø) 5 <0> (ø) ⬇️
...i/gax/longrunning/OperationTimedPollAlgorithm.java 85.71% <ø> (ø) 4 <0> (ø) ⬇️
...main/java/com/google/api/gax/rpc/ServerStream.java 81.81% <ø> (ø) 5 <0> (ø) ⬇️
...i/gax/retrying/SimpleStreamResumptionStrategy.java 14.28% <ø> (ø) 1 <0> (ø) ⬇️
...ax/longrunning/OperationResponsePollAlgorithm.java 66.66% <ø> (ø) 5 <0> (ø) ⬇️
...om/google/api/gax/rpc/ClientStreamingCallable.java 100% <ø> (ø) 3 <0> (ø) ⬇️
...c/main/java/com/google/api/gax/rpc/BidiStream.java 70% <ø> (ø) 4 <0> (ø) ⬇️
...java/com/google/api/gax/rpc/OperationCallable.java 100% <ø> (ø) 7 <0> (ø) ⬇️
... and 15 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 50bcd29...55afa42. Read the comment docs.

1 similar comment
@codecov
Copy link

codecov bot commented Apr 9, 2019

Codecov Report

Merging #704 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #704   +/-   ##
=========================================
  Coverage     75.46%   75.46%           
  Complexity     1037     1037           
=========================================
  Files           196      196           
  Lines          4675     4675           
  Branches        363      363           
=========================================
  Hits           3528     3528           
  Misses          986      986           
  Partials        161      161
Impacted Files Coverage Δ Complexity Δ
...om/google/api/gax/rpc/ServerStreamingCallable.java 75% <ø> (ø) 7 <0> (ø) ⬇️
...oogle/api/gax/longrunning/OperationFutureImpl.java 76.19% <ø> (ø) 12 <0> (ø) ⬇️
...gle/api/gax/rpc/StateCheckingResponseObserver.java 75% <ø> (ø) 5 <0> (ø) ⬇️
...i/gax/longrunning/OperationTimedPollAlgorithm.java 85.71% <ø> (ø) 4 <0> (ø) ⬇️
...main/java/com/google/api/gax/rpc/ServerStream.java 81.81% <ø> (ø) 5 <0> (ø) ⬇️
...i/gax/retrying/SimpleStreamResumptionStrategy.java 14.28% <ø> (ø) 1 <0> (ø) ⬇️
...ax/longrunning/OperationResponsePollAlgorithm.java 66.66% <ø> (ø) 5 <0> (ø) ⬇️
...om/google/api/gax/rpc/ClientStreamingCallable.java 100% <ø> (ø) 3 <0> (ø) ⬇️
...c/main/java/com/google/api/gax/rpc/BidiStream.java 70% <ø> (ø) 4 <0> (ø) ⬇️
...java/com/google/api/gax/rpc/OperationCallable.java 100% <ø> (ø) 7 <0> (ø) ⬇️
... and 15 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 50bcd29...55afa42. Read the comment docs.

Copy link
Contributor

@vam-google vam-google left a comment

Choose a reason for hiding this comment

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

In General LGTM, but @igorbernstein2 should know better about streaming portion. I'm also afraid that some of the replaced @BetaApi annotations instead of being removed should be replaced with either @InternalApi or @InternalExtensionOnly.

@@ -65,7 +65,6 @@
import javax.annotation.Nonnull;

/** Class with utility methods to create grpc-based direct callables. */
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this removed?

@andreamlin
Copy link
Contributor Author

note: stubs and grpccallablefactory should be unmarked BetaApi

@yoshi-automation yoshi-automation added the 🚨 This issue needs some love. label Apr 16, 2019
@sduskis sduskis added needs work This is a pull request that needs a little love. and removed 🚨 This issue needs some love. labels May 28, 2019
@sduskis
Copy link
Contributor

sduskis commented May 30, 2019

@andreamlin, what's the status of this PR? Is it ready to go from your perspective?

@igorbernstein2
Copy link
Contributor

I asked her to wait on merging it. It removes BetaApi labels from surfaces that I would like to change:

  • I would like to hide the RpcFactories
  • I would like to introduce a new GrpcDirectStub that simply wraps the grpc callables without adding anything new
  • I would like to introduce the concept of an operation timeout to call context and maybe settings.

I havent had a chance to work on these yet. Is there any rush to strip these labels?

@sduskis
Copy link
Contributor

sduskis commented May 30, 2019

It would be great if this PR could move forward, one way or another, since this PR is almost 2 months old. is there anything in this PR that is mergable? If not, I think that we ought to close this.

@andreamlin
Copy link
Contributor Author

I can close this and turn it into an issue. @igorbernstein2 are there github issues associated with your FRs that I can link to?

@elharo
Copy link
Contributor

elharo commented Nov 27, 2019

This seems to have been stuck for months. Should we close it?

Copy link
Contributor

@elharo elharo left a comment

Choose a reason for hiding this comment

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

Can we finish this one up?

@igorbernstein2
Copy link
Contributor

I don't think this needs to be blocked anymore. I think I can get what I need by simply using this: #891

@elharo
Copy link
Contributor

elharo commented Jan 12, 2021

I'm closing for now since it appears to be out of date. reopen if you wish to continue work. The associated issue is still open.

@elharo elharo closed this Jan 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes This human has signed the Contributor License Agreement. needs work This is a pull request that needs a little love.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants