splitclient-rb 8.10.0.pre.rc2-java → 8.10.0.pre.rc4-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8137bf904d86b6f85364aaa9c90ede3f133c6b433b17c0ee7a8134c16406cb56
4
- data.tar.gz: 69813d423c8554e12a908c23e22ec5a5f1d3a485244e74d3987431bbe1838048
3
+ metadata.gz: db54c43bf1d80422858e9252233a563ff0eb712a342de41339faf08fa078047f
4
+ data.tar.gz: 3e8c0904697a0dbcb85ca9220ce4763fd588f2a6b95eb582d1e55a7945a70ab3
5
5
  SHA512:
6
- metadata.gz: f0faa442f6f682aa90d850e0e8cab5db387f52ddb8f1c59bf5f791e19941cf292c4f5f840f53f22a243a808ab3f976091cc7fc1eaaa62195076430a88b8dff9e
7
- data.tar.gz: a381cea4c590ff6b299ea6a0ad23b79e46d2433233ead924c25e243e8fde6afea35d14e5adb9e084f9ada128d6d12ec2e7aeb542dee0d38a1fe01cf9875c59d8
6
+ metadata.gz: 4e41c7aac3c5b0e551c6425e1995ff55b5b780e9b14618b6efcc879d4610db2c91a8cc7be2f2b48bb16429ef26ee9523cb674fffa1334fe1ee3776686287a13d
7
+ data.tar.gz: 0acc72361b71b46ed0f966c732432b6bda029db9cb3a1f38418b1730106b7b2d5fd879836f4c8e2f8e77b9ea422cfdb0a7c237190213eb20e79b244a9dfad238
@@ -86,6 +86,7 @@ module SplitIoClient
86
86
  def connect_stream(latch)
87
87
  return Constants::PUSH_NONRETRYABLE_ERROR unless socket_write(latch)
88
88
  while connected? || @first_event.value
89
+ log_if_debug("Inside coonnect_stream while loop.", 3)
89
90
  begin
90
91
  partial_data = ""
91
92
  Timeout::timeout @read_timeout do
@@ -97,16 +98,18 @@ module SplitIoClient
97
98
  rescue Timeout::Error => e
98
99
  log_if_debug("SSE read operation timed out!: #{e.inspect}", 3)
99
100
  return Constants::PUSH_RETRYABLE_ERROR
100
- rescue EOFError
101
+ rescue EOFError => e
102
+ log_if_debug("SSE read operation EOF Exception!: #{e.inspect}", 3)
101
103
  raise 'eof exception'
102
104
  rescue Errno::EAGAIN => e
103
105
  log_if_debug("SSE client transient error: #{e.inspect}", 1)
104
106
  IO.select([tcp_socket])
105
107
  retry
106
108
  rescue Errno::EBADF, IOError => e
107
- log_if_debug(e.inspect, 3)
109
+ log_if_debug("SSE read operation EBADF or IOError: #{e.inspect}", 3)
108
110
  return nil
109
111
  rescue StandardError => e
112
+ log_if_debug("SSE read operation StandardError: #{e.inspect}", 3)
110
113
  return nil if ENV['SPLITCLIENT_ENV'] == 'test'
111
114
 
112
115
  log_if_debug("Error reading partial data: #{e.inspect}", 3)
@@ -115,6 +118,8 @@ module SplitIoClient
115
118
 
116
119
  process_data(partial_data)
117
120
  end
121
+ log_if_debug("SSE read operation exited: #{connected?}", 3)
122
+
118
123
  nil
119
124
  end
120
125
 
@@ -142,6 +147,7 @@ module SplitIoClient
142
147
 
143
148
  if response_code == OK_CODE && !error_event
144
149
  @connected.make_true
150
+ @config.logger.debug("SSE client first event Connected is true")
145
151
  @telemetry_runtime_producer.record_streaming_event(Telemetry::Domain::Constants::SSE_CONNECTION_ESTABLISHED, nil)
146
152
  push_status(Constants::PUSH_CONNECTED)
147
153
  end
@@ -179,9 +185,9 @@ module SplitIoClient
179
185
  end
180
186
 
181
187
  def process_data(partial_data)
188
+ log_if_debug("Event partial data: #{partial_data}", 1)
182
189
  return if partial_data.nil? || partial_data == KEEP_ALIVE_RESPONSE
183
190
 
184
- log_if_debug("Event partial data: #{partial_data}", 1)
185
191
  events = @event_parser.parse(partial_data)
186
192
  events.each { |event| process_event(event) }
187
193
  rescue StandardError => e
@@ -1,3 +1,3 @@
1
1
  module SplitIoClient
2
- VERSION = '8.10.0-rc2'
2
+ VERSION = '8.10.0-rc4'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: splitclient-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.10.0.pre.rc2
4
+ version: 8.10.0.pre.rc4
5
5
  platform: java
6
6
  authors:
7
7
  - Split Software
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-11-05 00:00:00.000000000 Z
10
+ date: 2025-11-06 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: allocation_stats