gitlab-labkit 4.4.0 → 4.4.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: f25b6fb5022dbe4d1740df490b991da48f8d2d9432926a0c23ec41dcc566b1c0
4
- data.tar.gz: 8e1fb5578809e9a87726e95d181fec9426c67c64aa5862e1ab6afd08d4ac5d20
3
+ metadata.gz: 1e7ab6ac58c584a113159e7f42678f508078c83cdeb9a21c86a7f60a5c936b21
4
+ data.tar.gz: b4c3abaa02eafb546284dc68a08ba4443da4c1b13aa824c98f51e0dac3e749da
5
5
  SHA512:
6
- metadata.gz: dad133ba83a3e8e9b60825936befc9af2586bc80685b227c0517553c32681bd89ac42c0c9c2d7d68b3dd5865e2f54672ca4882711f7b71d92f67442af98abbb7
7
- data.tar.gz: d0c781167401e351f2c0989cbdbb2d761886cc5f27b723d96d99228f33bb1a4f04b52af3669c8c655b512378f37842c09d920628abb9284212bf17a1e57d9b9e
6
+ metadata.gz: 1b032aa2876124669bf1eac1bc09cf67e79b4df4105e95fbc7d416132dd8d5bf1088c49e4c88b304e9a796e119edea60e4c2fae49a70aba050889a928b66b206
7
+ data.tar.gz: 91066213316a173023257e30507fdb8c7c0e4e0b360b91dd1efcafebbacd291c82f62e9470798aa86488ae991bb8f81b1c395856ee2e03b537e3ae5a244d78c3
data/.gitlab/CODEOWNERS CHANGED
@@ -1 +1 @@
1
- * @reprazent @andrewn @mkaeppler @ayufan @hmerscher @d.barrett @splattael
1
+ * @reprazent @andrewn @mkaeppler @ayufan @hmerscher @d.barrett @splattael @sankalp_gl @hardikgala @nindurkar @ashs2
data/CODEOWNERS CHANGED
@@ -1,4 +1,4 @@
1
1
  # CODEOWNERS is used to lookup assignees for
2
2
  # Renovate Bot dependency change Merge Requests.
3
3
  # https://docs.renovatebot.com/configuration-options/#assigneesfromcodeowners
4
- * @reprazent @andrewn @mkaeppler @ayufan @hmerscher @d.barrett @splattael @e_forbes @M_Alvarez @mwoolf
4
+ * @reprazent @andrewn @mkaeppler @ayufan @hmerscher @d.barrett @splattael @e_forbes @M_Alvarez @mwoolf @sankalp_gl @hardikgala @nindurkar @ashs2
@@ -39,11 +39,13 @@ module Labkit
39
39
  # unbounded elsewhere), and a timeout reaches Evaluator's fail-open
40
40
  # rescue, so the request goes unlimited.
41
41
  #
42
- # 5ms is ~119x the slowest real match measured against GitLab's
43
- # RackAttack path patterns on inputs up to 16KB (worst: 0.0419ms, none
44
- # timed out). Re-measure if a rule ever needs nested quantifiers or
45
- # backreferences, which are what make backtracking exponential.
46
- MATCH_TIMEOUT_SECONDS = 0.005
42
+ # 50ms is a safety net against catastrophic backtracking, not a
43
+ # performance bound: real matches are far cheaper (median 0.087ms, worst
44
+ # 1.484ms across 6935 paths that timed out in production at 5ms). Those
45
+ # timeouts were wall-clock stalls, since Ruby counts real time and GC
46
+ # pauses on GitLab's git fleet have a p50 of ~72ms. Under 4x CPU
47
+ # oversubscription 50ms still fires on 0.16% of those matches, 5ms 1.33%.
48
+ MATCH_TIMEOUT_SECONDS = 0.05
47
49
 
48
50
  def self.build(input)
49
51
  case input
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: 4.4.0
4
+ version: 4.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Newdigate