grpc / grpc-web

gRPC for Web Clients
https://grpc.io
Apache License 2.0
8.45k stars 760 forks source link

Update interop-test-descriptions.md #1404

Closed tsegismont closed 4 months ago

tsegismont commented 4 months ago

The proto definition link leads to a 404

The actual location of the file seems to be https://github.com/grpc/grpc/blob/master/src/proto/grpc/testing/test.proto

linux-foundation-easycla[bot] commented 4 months ago

CLA Signed

The committers listed above are authorized under a signed CLA.

sampajano commented 4 months ago

Wonderful! Thanks for the fix! Do you mind complete the EasyCLA process btw? Thanks! 😊

tsegismont commented 4 months ago

Thank you @sampajano for the quick reply. I've authorized the EasyCLA app and the check passed.

I was reading this document because I'm working on adding gRPC Web support to the vert-grpc (I'm an Eclipse Vert.x committer).

It seems I should be able to use the test suite described in https://github.com/grpc/grpc-web/tree/master/test/interop, is that right?

sampajano commented 4 months ago

Thank you @sampajano for the quick reply. I've authorized the EasyCLA app and the check passed.

I was reading this document because I'm working on adding gRPC Web support to the vert-grpc (I'm an Eclipse Vert.x committer).

It seems I should be able to use the test suite described in https://github.com/grpc/grpc-web/tree/master/test/interop, is that right?

@tsegismont You're very welcome!!

Oh thanks for adding this support!

Yeah on a quick glance i assume that could work!

From our dockerfile here: https://github.com/grpc/grpc-web/blob/55b9218d2bf435becbb234b4251e9ba860b17d6c/net/grpc/gateway/docker/node_interop_server/Dockerfile#L37

It seems that we're using this interop-server by grpc-node: https://github.com/grpc/grpc-node/blob/master/test/interop/interop_server.js

So maybe you'd have to implement a similar server and the same test can likely be run on there too 😃

tsegismont commented 4 months ago

Thanks. I'll keep you informed when I've made some progress

tsegismont commented 3 months ago

Hi @sampajano , the implementation of gRPC-Web in Vert.x is almost ready.

I've implemented a backend for the interop tests and used the grpcweb/prereqs image to run them in a container. I noticed on Docker Hub that the image was updated two years ago. Is that expected? Or should I instead create the image using a fork of this repo during CI builds?

sampajano commented 3 months ago

Hi @sampajano , the implementation of gRPC-Web in Vert.x is https://github.com/eclipse-vertx/vertx-grpc/pull/89.

Oh wow! Amazing! Thanks for the good news! 😃

I noticed on Docker Hub that the image was updated two years ago. Is that expected?

Hi! Thanks for pointing it out! I mean kinda yes and no.. Yes because I've not been pushing them.. No because it's not intentional.. 😄 I will probably try pushing them soon (like during next release).

For now, could you use docker-compose build to build them locally during testing? (which is what the testing script currently does). Would that work for you?

Thanks!

tsegismont commented 3 months ago

Oh wow! Amazing! Thanks for the good news! 😃

Thank you!

For now, could you use docker-compose build to build them locally during testing? (which is what the testing script currently does). Would that work for you?

I changed the test so that a docker image is built from a fresh checkout of this repo: https://github.com/eclipse-vertx/vertx-grpc/pull/89/commits/35b180f7659033c42c96cb3009a42e886c009196

I chose to build only the prereqs container because in the Vert.x repo, we don't need the interop server.

sampajano commented 3 months ago

Oh great!! Glad that you have a good solution now! 😃

Apologize for the troubles! But i think your current solution is probably more robust going forward! 😃

tsegismont commented 3 months ago

No worries, thank you for taking some time to answer my questions!

sampajano commented 3 months ago

You're very welcome! 😃