gitlab_quality-test_tooling 3.20.0 → 3.20.1

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: 2f7e83ddaa6db599e9128b50b56e987c98e9919d5cc2f8d4dd5ce6a51f2addca
4
- data.tar.gz: 8b6cf47b91ac6c0f4a6c9c7703b4d17e7f476bae38f01c30c91f9e002b603fca
3
+ metadata.gz: 16e76c285873fa517a3432827f9feae3b05e619532f5be6999fd59263abc71c6
4
+ data.tar.gz: 89cef526698da6a68dc7f814b846535a1d6967940acecaa6dcb87562b570a054
5
5
  SHA512:
6
- metadata.gz: 6298bc51479288ff771664b155b9fd7a8db6c34e60747fc7bb13a49c925019d551664d2dff31a2174b9e95f477d086d05b47051d4ef4ec5e475598724e3dbfbd
7
- data.tar.gz: 9442f75fc352fa6005b92b351a999ca739deaeff20d468bcaaa180ed7aa619fbbfe6005960ac52d6b92b00523bd0e3f18851b897ecf64efcdab98b04280c65d0
6
+ metadata.gz: b51b8e300fd0a6ef9edcd0463953e30805f4299fa784d19ecbb37482c4cd221a4a80d0d336c91ab9b8fcd65823dce11407613134176a31df2f2cda09333745cc
7
+ data.tar.gz: 78af01f5df6c8dc147ec0ded7353926fc7810b21feeda0e1c872924f738b6041deff8df8bcc55a5333edae3f669d85745d615354ab82403a8a4bef71f469454d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gitlab_quality-test_tooling (3.20.0)
4
+ gitlab_quality-test_tooling (3.20.1)
5
5
  activesupport (>= 7.0)
6
6
  amatch (~> 0.4.1)
7
7
  fog-google (~> 1.24, >= 1.24.1)
@@ -12,6 +12,14 @@ module GitlabQuality
12
12
  DEFAULT_BATCH_SIZE = 100_000
13
13
  LOG_PREFIX = "[ClickHouse]"
14
14
 
15
+ # ClickHouse keeps executing a statement after the HTTP client hangs
16
+ # up, so a short read timeout turns a slow-but-succeeding query into a
17
+ # failed job while the work completes server-side anyway. Every caller
18
+ # is a batch job that can afford to wait for the real result; none is
19
+ # interactive.
20
+ OPEN_TIMEOUT = 10
21
+ READ_TIMEOUT = 600
22
+
15
23
  def initialize(url:, database:, username: nil, password: nil, logger: ::Logger.new($stdout, level: 1))
16
24
  @url = url
17
25
  @database = database
@@ -102,7 +110,9 @@ module GitlabQuality
102
110
  body: body,
103
111
  headers: { "Content-Type" => content_type },
104
112
  query: { database: database, **query_opts }.compact,
105
- basic_auth: !!(username && password) ? { username: username, password: password } : nil
113
+ basic_auth: !!(username && password) ? { username: username, password: password } : nil,
114
+ open_timeout: OPEN_TIMEOUT,
115
+ read_timeout: READ_TIMEOUT
106
116
  }.compact)
107
117
  end
108
118
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module GitlabQuality
4
4
  module TestTooling
5
- VERSION = "3.20.0"
5
+ VERSION = "3.20.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab_quality-test_tooling
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.20.0
4
+ version: 3.20.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitLab Quality
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-07-07 00:00:00.000000000 Z
11
+ date: 2026-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: climate_control