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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f524117673a4935ef736ec70c0fbbdaef37e47ce9f6745560b39d27498b3d6dc
|
|
4
|
+
data.tar.gz: b576628aa613113b8969659d2e3f1e3267eb0ea8af12871fc062c9dd5c738b1a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c01d93893558f7f7cdbfcc96787d8367583f83f66527799cf161def8f9d1d2444f7bd31f65b96926f7610b9992f95b676a34471be03cc3964ea3b8935fd358f0
|
|
7
|
+
data.tar.gz: d830ae9098aa8c636390350d6c12c706545b4a35bcd4022d1c194515b9a7c9f8d08dfa3079e2abb461e7647f521200acd951da496073f744ebd6cec459070620
|
data/Gemfile.lock
CHANGED
|
@@ -51,8 +51,13 @@ module GitlabQuality
|
|
|
51
51
|
end
|
|
52
52
|
|
|
53
53
|
insert(coverage_files)
|
|
54
|
-
|
|
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
|
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.
|
|
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-
|
|
11
|
+
date: 2026-06-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: climate_control
|