Files
grpc/examples/ruby/lib/helloworld_pb.rb
apolcyn 69f229edd1 [ruby] remove connectivity state watch thread, fix cancellations from spurious signals (#39409)
See https://github.com/grpc/grpc/issues/38210#issuecomment-2783948947 for context

Now that Event Engine is enabled, we no longer need the channel polling thread, so we can remove it.

Fork support (with event engine left enabled), is still broken on this PR as it is on master, but it will get cleaned up after https://github.com/grpc/grpc/pull/38980 (tested by manually merging and running fork tests)

While we're here:
- Regenerate greeter example protos
- Remove `channel_state_test.rb` in favor of `connectivity_watch_interrupted_test.rb`. The former was skipped due to https://bugs.ruby-lang.org/issues/15499, the new test changes things so that we no longer hit that bug, but still exercise the no_gvl connectivity state watch machinery.
- tweaks to fork tests (they are not running continuously but we should be able to re-enable them again after https://github.com/grpc/grpc/pull/38980 lands

Closes #39409

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/39409 from apolcyn:fix_bugs 3e3ae7d81fcbd13b1d0eed6b13c7c39fe1bd1030
PiperOrigin-RevId: 766790187
2025-06-03 13:11:52 -07:00

17 lines
1.0 KiB
Ruby

# frozen_string_literal: true
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: helloworld.proto
require 'google/protobuf'
descriptor_data = "\n\x10helloworld.proto\x12\nhelloworld\"\x1c\n\x0cHelloRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"\x1d\n\nHelloReply\x12\x0f\n\x07message\x18\x01 \x01(\t2\xe4\x01\n\x07Greeter\x12>\n\x08SayHello\x12\x18.helloworld.HelloRequest\x1a\x16.helloworld.HelloReply\"\x00\x12K\n\x13SayHelloStreamReply\x12\x18.helloworld.HelloRequest\x1a\x16.helloworld.HelloReply\"\x00\x30\x01\x12L\n\x12SayHelloBidiStream\x12\x18.helloworld.HelloRequest\x1a\x16.helloworld.HelloReply\"\x00(\x01\x30\x01\x42\x36\n\x1bio.grpc.examples.helloworldB\x0fHelloWorldProtoP\x01\xa2\x02\x03HLWb\x06proto3"
pool = Google::Protobuf::DescriptorPool.generated_pool
pool.add_serialized_file(descriptor_data)
module Helloworld
HelloRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("helloworld.HelloRequest").msgclass
HelloReply = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("helloworld.HelloReply").msgclass
end