gitlab_quality-test_tooling 3.18.2 → 3.18.3

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: 779e0b86d15303be62790f4c55f12654922e2de18fe3505d4305e8a4f4f6320e
4
- data.tar.gz: e2a2fc54bb3ee013dfad631c8433df72b07a68d9a20502b4ac7310a8d1500c9f
3
+ metadata.gz: f524117673a4935ef736ec70c0fbbdaef37e47ce9f6745560b39d27498b3d6dc
4
+ data.tar.gz: b576628aa613113b8969659d2e3f1e3267eb0ea8af12871fc062c9dd5c738b1a
5
5
  SHA512:
6
- metadata.gz: 026a676af6f0ccc7bef7e19778309843d19a17ab96a4d467d9be03def4c683f44ceb36d470611d0405083a4f1738d7bc6f8efd3ec604037c518234d86157f586
7
- data.tar.gz: 74f87d3383d15086afacaa0dd7cb16336bb16cbe26e1fa32978f0a3cc41757d6e9015d31b0144848ad56efb6855d50aa8e5e00fc002e3bf798af13d456e1c8e2
6
+ metadata.gz: c01d93893558f7f7cdbfcc96787d8367583f83f66527799cf161def8f9d1d2444f7bd31f65b96926f7610b9992f95b676a34471be03cc3964ea3b8935fd358f0
7
+ data.tar.gz: d830ae9098aa8c636390350d6c12c706545b4a35bcd4022d1c194515b9a7c9f8d08dfa3079e2abb461e7647f521200acd951da496073f744ebd6cec459070620
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gitlab_quality-test_tooling (3.18.2)
4
+ gitlab_quality-test_tooling (3.18.3)
5
5
  activesupport (>= 7.0)
6
6
  amatch (~> 0.4.1)
7
7
  fog-google (~> 1.24, >= 1.24.1)
@@ -51,8 +51,13 @@ module GitlabQuality
51
51
  end
52
52
 
53
53
  insert(coverage_files)
54
- ingest_jest_quarantine
54
+ jest_quarantine_error = ingest_jest_quarantine_best_effort
55
55
  aggregate unless skip_aggregation
56
+
57
+ # Re-raise only after aggregation has run, so a jest quarantine ingest
58
+ # failure can't silently stop the table-wide rollup while still
59
+ # failing the job loudly for follow-up.
60
+ raise jest_quarantine_error if jest_quarantine_error
56
61
  end
57
62
 
58
63
  private
@@ -88,6 +93,21 @@ module GitlabQuality
88
93
  .populate(quarantine_file: jest_quarantine_file)
89
94
  end
90
95
 
96
+ # The jest quarantine snapshot is best-effort relative to the
97
+ # aggregation: a failure here (a transient ClickHouse error, say)
98
+ # shouldn't stop the rollup from running on the rows already inserted.
99
+ # Capture the error so #run can aggregate first, then re-raise it.
100
+ def ingest_jest_quarantine_best_effort
101
+ ingest_jest_quarantine
102
+ nil
103
+ rescue StandardError => e
104
+ logger.error(
105
+ "#{ClickHouse::LOG_PREFIX} Jest quarantine ingestion failed; continuing so the " \
106
+ "aggregation still runs: #{e.message}"
107
+ )
108
+ e
109
+ end
110
+
91
111
  def aggregate
92
112
  ClickHouse::TestHealthRiskAggregator.new(**clickhouse_credentials).run
93
113
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module GitlabQuality
4
4
  module TestTooling
5
- VERSION = "3.18.2"
5
+ VERSION = "3.18.3"
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.18.2
4
+ version: 3.18.3
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-06-19 00:00:00.000000000 Z
11
+ date: 2026-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: climate_control