Skip to content

Commit 9f45e2c

Browse files
nateberkopecclaude
andcommitted
Fix CI build failures
- Fix standard linting issues (rename 'it' to 'item' in reporter.rb) - Add blank line after module inclusion in sidekiq_test.rb - Add x86_64-linux platform to gemfile lockfiles for CI compatibility 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 6b6916b commit 9f45e2c

File tree

4 files changed

+16
-12
lines changed

4 files changed

+16
-12
lines changed

gemfiles/puma_6_sidekiq_7_rails_7.gemfile.lock

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@ GEM
160160
nio4r (2.7.5)
161161
nokogiri (1.15.7-arm64-darwin)
162162
racc (~> 1.4)
163+
nokogiri (1.15.7-x86_64-linux)
164+
racc (~> 1.4)
163165
parallel (1.27.0)
164166
parser (3.3.10.0)
165167
ast (~> 2.4.1)
@@ -282,6 +284,7 @@ GEM
282284

283285
PLATFORMS
284286
arm64-darwin-24
287+
x86_64-linux
285288

286289
DEPENDENCIES
287290
irb

gemfiles/puma_7_sidekiq_8_rails_8.gemfile.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -149,19 +149,19 @@ GEM
149149
net-smtp (0.5.1)
150150
net-protocol
151151
nio4r (2.7.5)
152-
nokogiri (1.18.10-aarch64-linux-gnu)
152+
nokogiri (1.18.10-aarch64-linux)
153153
racc (~> 1.4)
154154
nokogiri (1.18.10-aarch64-linux-musl)
155155
racc (~> 1.4)
156-
nokogiri (1.18.10-arm-linux-gnu)
156+
nokogiri (1.18.10-arm-linux)
157157
racc (~> 1.4)
158158
nokogiri (1.18.10-arm-linux-musl)
159159
racc (~> 1.4)
160160
nokogiri (1.18.10-arm64-darwin)
161161
racc (~> 1.4)
162162
nokogiri (1.18.10-x86_64-darwin)
163163
racc (~> 1.4)
164-
nokogiri (1.18.10-x86_64-linux-gnu)
164+
nokogiri (1.18.10-x86_64-linux)
165165
racc (~> 1.4)
166166
nokogiri (1.18.10-x86_64-linux-musl)
167167
racc (~> 1.4)
@@ -290,13 +290,13 @@ GEM
290290
zeitwerk (2.7.3)
291291

292292
PLATFORMS
293-
aarch64-linux-gnu
293+
aarch64-linux
294294
aarch64-linux-musl
295-
arm-linux-gnu
295+
arm-linux
296296
arm-linux-musl
297297
arm64-darwin
298298
x86_64-darwin
299-
x86_64-linux-gnu
299+
x86_64-linux
300300
x86_64-linux-musl
301301

302302
DEPENDENCIES
@@ -312,4 +312,4 @@ DEPENDENCIES
312312
webmock
313313

314314
BUNDLED WITH
315-
2.7.0
315+
2.4.12

lib/speedshop/cloudwatch/reporter.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -217,16 +217,16 @@ def aggregate_values(items)
217217
minimum = Float::INFINITY
218218
maximum = -Float::INFINITY
219219

220-
items.each do |it|
221-
if it[:statistic_values]
222-
sv = it[:statistic_values]
220+
items.each do |item|
221+
if item[:statistic_values]
222+
sv = item[:statistic_values]
223223
sc = sv[:sample_count].to_f
224224
sample_count += sc
225225
sum += sv[:sum].to_f
226226
minimum = [minimum, sv[:minimum].to_f].min
227227
maximum = [maximum, sv[:maximum].to_f].max
228-
elsif it.key?(:value)
229-
v = it[:value].to_f
228+
elsif item.key?(:value)
229+
v = item[:value].to_f
230230
sample_count += 1.0
231231
sum += v
232232
minimum = [minimum, v].min

test/sidekiq_test.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
class SidekiqTest < SpeedshopCloudwatchTest
99
class TestJob
1010
include Sidekiq::Job
11+
1112
def perform
1213
end
1314
end

0 commit comments

Comments
 (0)