gitlab_quality-test_tooling 2.18.0 → 2.19.0
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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/gitlab_quality/test_tooling/report/failed_test_issue.rb +1 -1
- data/lib/gitlab_quality/test_tooling/report/flaky_test_issue.rb +1 -1
- data/lib/gitlab_quality/test_tooling/report/generate_test_session.rb +1 -1
- data/lib/gitlab_quality/test_tooling/report/knapsack_report_issue.rb +1 -1
- data/lib/gitlab_quality/test_tooling/report/relate_failure_issue.rb +1 -1
- data/lib/gitlab_quality/test_tooling/report/slow_test_issue.rb +2 -1
- data/lib/gitlab_quality/test_tooling/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 832c18b570dc90f0f65c3cc14c9684186bd4a1b849ca6e2df6bd45d66ee7ee3f
|
4
|
+
data.tar.gz: 94b16f41411e251b6ef703a0ddfb96d3169b2852e82f02f11b6ec420f778e13d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80bd00f1ce3e62bde59409003dbe952753ea3a16ec45af461ae500830d55396ddc2a20f0c589e5691f5908ece97ac0545f2eb071ace45b31e84b040167f3e99a
|
7
|
+
data.tar.gz: 6f9d5087d12d539ead18cfad677ab1f401eed91383161254dcc99cc06fe95d511358849e061e3d19483a9e7f6228a16c55ba223dc67fcc8674fa16e4438056ee
|
data/Gemfile.lock
CHANGED
@@ -12,7 +12,7 @@ module GitlabQuality
|
|
12
12
|
# - Add a failure report in the "Failure reports" note
|
13
13
|
class FailedTestIssue < HealthProblemReporter
|
14
14
|
IDENTITY_LABELS = ['test', 'test-health:failures', 'automation:bot-authored'].freeze
|
15
|
-
NEW_ISSUE_LABELS = Set.new(['type::maintenance', 'failure::new', 'priority::3', 'severity::3', *IDENTITY_LABELS]).freeze
|
15
|
+
NEW_ISSUE_LABELS = Set.new(['type::maintenance', 'failure::new', 'priority::3', 'severity::3', 'suppress-contributor-links', *IDENTITY_LABELS]).freeze
|
16
16
|
REPORT_SECTION_HEADER = '#### Failure reports'
|
17
17
|
|
18
18
|
FAILURE_STACKTRACE_REGEX = %r{(?:(?:.*Failure/Error:(?<stacktrace>.+))|(?<stacktrace>.+))}m
|
@@ -13,7 +13,7 @@ module GitlabQuality
|
|
13
13
|
# - Add a flakiness report in the "Flakiness reports" note
|
14
14
|
class FlakyTestIssue < HealthProblemReporter
|
15
15
|
IDENTITY_LABELS = ['test', 'failure::flaky-test', 'test-health:pass-after-retry', 'automation:bot-authored'].freeze
|
16
|
-
NEW_ISSUE_LABELS = Set.new(['type::maintenance', 'priority::3', 'severity::3', *IDENTITY_LABELS]).freeze
|
16
|
+
NEW_ISSUE_LABELS = Set.new(['type::maintenance', 'priority::3', 'severity::3', 'suppress-contributor-links', *IDENTITY_LABELS]).freeze
|
17
17
|
REPORT_SECTION_HEADER = '### Flakiness reports'
|
18
18
|
REPORTS_DOCUMENTATION = <<~DOC
|
19
19
|
Flaky tests were detected. Please refer to the [Flaky tests reproducibility instructions](https://docs.gitlab.com/development/testing_guide/unhealthy_tests/#how-to-reproduce-a-flaky-test-locally)
|
@@ -33,7 +33,7 @@ module GitlabQuality
|
|
33
33
|
issue = gitlab.create_issue(
|
34
34
|
title: "#{Time.now.strftime('%Y-%m-%d')} Test session report | #{Runtime::Env.qa_run_type}",
|
35
35
|
description: generate_description(tests),
|
36
|
-
labels: ['automation:bot-authored', 'E2E', 'triage report', pipeline_name_label],
|
36
|
+
labels: ['automation:bot-authored', 'E2E', 'triage report', pipeline_name_label, 'suppress-contributor-links'],
|
37
37
|
confidential: confidential
|
38
38
|
)
|
39
39
|
|
@@ -18,7 +18,7 @@ module GitlabQuality
|
|
18
18
|
|
19
19
|
NEW_ISSUE_LABELS = Set.new([
|
20
20
|
'test', 'automation:bot-authored', 'type::maintenance', 'maintenance::performance',
|
21
|
-
'priority::3', 'severity::3', 'knapsack_report'
|
21
|
+
'priority::3', 'severity::3', 'knapsack_report', 'suppress-contributor-links'
|
22
22
|
]).freeze
|
23
23
|
SEARCH_LABELS = %w[test maintenance::performance knapsack_report].freeze
|
24
24
|
JOB_TIMEOUT_EPIC_URL = 'https://gitlab.com/groups/gitlab-org/quality/engineering-productivity/-/epics/19'
|
@@ -28,7 +28,7 @@ module GitlabQuality
|
|
28
28
|
FAILURE_STACKTRACE_REGEX = %r{(?:(?:.*Failure/Error:(?<stacktrace>.+))|(?<stacktrace>.+))}m
|
29
29
|
ISSUE_STACKTRACE_REGEX = /### Stack trace\s*(```)#{FAILURE_STACKTRACE_REGEX}(```)\n*\n###/m
|
30
30
|
|
31
|
-
NEW_ISSUE_LABELS = Set.new(%w[test failure::new priority::2 automation:bot-authored type::maintenance]).freeze
|
31
|
+
NEW_ISSUE_LABELS = Set.new(%w[test failure::new priority::2 automation:bot-authored type::maintenance suppress-contributor-links]).freeze
|
32
32
|
SCREENSHOT_IGNORED_ERRORS = ['500 Internal Server Error', 'fabricate_via_api!', 'Error Code 500'].freeze
|
33
33
|
FAILURE_ISSUE_GUIDE_URL = "https://handbook.gitlab.com/handbook/engineering/testing/guide-to-e2e-test-failure-issues/"
|
34
34
|
FAILURE_ISSUE_HANDBOOK_GUIDE = "**:rotating_light: [End-to-End Test Failure Issue Debugging Guide](#{FAILURE_ISSUE_GUIDE_URL}) :rotating_light:**\n".freeze
|
@@ -11,7 +11,8 @@ module GitlabQuality
|
|
11
11
|
# - Add test metadata, duration to the issue with group and category labels
|
12
12
|
class SlowTestIssue < HealthProblemReporter
|
13
13
|
IDENTITY_LABELS = ['test', 'rspec:slow test', 'test-health:slow', 'rspec profiling', 'automation:bot-authored'].freeze
|
14
|
-
NEW_ISSUE_LABELS = Set.new(
|
14
|
+
NEW_ISSUE_LABELS = Set.new(
|
15
|
+
['test', 'type::maintenance', 'maintenance::performance', 'priority::3', 'severity::3', 'suppress-contributor-links', *IDENTITY_LABELS]).freeze
|
15
16
|
REPORT_SECTION_HEADER = '### Slowness reports'
|
16
17
|
REPORTS_DOCUMENTATION = <<~DOC
|
17
18
|
Slow tests were detected, please see the [test speed best practices guide](https://docs.gitlab.com/ee/development/testing_guide/best_practices.html#test-speed)
|
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: 2.
|
4
|
+
version: 2.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitLab Quality
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-08-
|
11
|
+
date: 2025-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: climate_control
|