gitlab-labkit 5.14.0 → 5.15.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f9f95ff9d39b86e127ce7de851abe149fbe3659a31f4d82152c447884b59c89f
4
- data.tar.gz: 70b231b5067e628000b51a031d83967d0ca1a9d9b43a2ab61ea72ad8d043fed7
3
+ metadata.gz: d7c3b8638f22285a6020190206ba2ef09bf607f6372f8461a23f40631d8ae3c2
4
+ data.tar.gz: a0d2f1f4d333c405cb0c0d00960c05e4f8718635f416b6e081e6a533bb61db51
5
5
  SHA512:
6
- metadata.gz: 2d8a4ebc1085ffe38412ee762b03703e730a2ebc16e7ccd7af4bd41a89e1720134c588f3d16a7035c9ce5b9723be39bd8dd014fdb0af90d58bd53b453dbeb6b2
7
- data.tar.gz: 9d2b7897ae3d834ba335a4927b259e5ff4fd7d4bef23e610d4a90ab523629e50471844fe47214021c152e787b3997b0970283ce98055dca1e470ab9fcb9e9d1f
6
+ metadata.gz: 4cf90b4cbc1acc56e4bf174b9e8760353efa72c1454c81873352645ca844672c99d5c372b35616fc6b4690e3c038c0922caaffe56836f61e0a2302a241296b59
7
+ data.tar.gz: 4c973e957e738f566f58528d5749fe0f3f8e17182bf66a3988c386d1b54c7a3933ae56ce75a4c9c56478c9b34fa10f00a71dbf404c6e1a4bc5ed91f3001bfcad
data/.copier-answers.yml CHANGED
@@ -3,7 +3,7 @@
3
3
  # See the project for instructions on how to update the project
4
4
  #
5
5
  # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
6
- _commit: v1.89.0
6
+ _commit: v1.91.0
7
7
  _src_path: https://gitlab.com/gitlab-com/gl-infra/common-template-copier.git
8
8
  ee_licensed: false
9
9
  gitlab_namespace: gitlab-org/ruby/gems
data/.gitlab-ci.yml CHANGED
@@ -86,7 +86,7 @@ deploy:
86
86
  vendored-proto-check:
87
87
  stage: validate
88
88
  needs: []
89
- image: ruby:3.4
89
+ image: ruby:4.0
90
90
  rules:
91
91
  - if: $CI_PIPELINE_SOURCE == "merge_request_event"
92
92
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
data/lib/labkit/fields.rb CHANGED
@@ -165,6 +165,12 @@ module Labkit
165
165
  # service's HTTP and gRPC access logs can be told apart.
166
166
  SYSTEM = "system"
167
167
 
168
+ # Distinct feature categories declared by the root fields a GraphQL
169
+ # operation selects, sorted and comma-separated (e.g.
170
+ # "team_planning,user_profile"). Empty or absent when no root field declares
171
+ # a feature category.
172
+ GRAPHQL_ROOT_FIELD_FEATURE_CATEGORIES = "graphql_root_field_feature_categories"
173
+
168
174
  # Maps each field constant to its logging field variant version.
169
175
  # A version of 0 means the field is not yet assigned to any variant.
170
176
  VARIANT_VERSION = {
@@ -212,6 +218,7 @@ module Labkit
212
218
  GRAPHQL_COMPLEXITY_RAW => 0,
213
219
  GRAPHQL_CONNECTION_NODES => 0,
214
220
  SYSTEM => 0,
221
+ GRAPHQL_ROOT_FIELD_FEATURE_CATEGORIES => 0,
215
222
  }.freeze
216
223
 
217
224
  # Get the constant name for a field value
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab-labkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.14.0
4
+ version: 5.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Newdigate