Skip to content

Commit edf4444

Browse files
nbudinclaude
andcommitted
Remove Skylight — replaced by Sentry
Drops the :skylight gem group (skylight, rbtrace, webrick), the probe configuration in application.rb, and the RAILS_GROUPS env var in fly.toml that opted the production container into the group. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 8a08fad commit edf4444

4 files changed

Lines changed: 1 addition & 21 deletions

File tree

Gemfile

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -114,13 +114,6 @@ gem "rollbar"
114114
# Reduces boot times through caching; required in config/boot.rb
115115
gem "bootsnap", ">= 1.1.0", require: false
116116

117-
# Production profiling
118-
group :skylight do
119-
gem "rbtrace"
120-
gem "skylight"
121-
gem "webrick" # we don't actually use it, but Skylight needs it on boot
122-
end
123-
124117
group :development do
125118
gem "rack-mini-profiler", require: false
126119

Gemfile.lock

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,6 @@ GEM
415415
bigdecimal (>= 3.0)
416416
ostruct (>= 0.2)
417417
openssl (4.0.2)
418-
optimist (3.1.0)
419418
orm_adapter (0.5.0)
420419
ostruct (0.6.3)
421420
parallel (2.1.0)
@@ -511,10 +510,6 @@ GEM
511510
rbs (3.10.4)
512511
logger
513512
tsort
514-
rbtrace (0.5.3)
515-
ffi (>= 1.0.6)
516-
msgpack (>= 0.4.3)
517-
optimist (>= 3.0.0)
518513
rbtree (0.4.6)
519514
rdoc (7.2.0)
520515
erb
@@ -603,8 +598,6 @@ GEM
603598
simplecov-html (0.13.2)
604599
simplecov_json_formatter (0.1.4)
605600
simpleidn (0.2.3)
606-
skylight (7.1.1)
607-
activesupport (>= 7.2.0)
608601
slop (3.6.0)
609602
sorted_set (1.1.0)
610603
rbtree
@@ -751,7 +744,6 @@ DEPENDENCIES
751744
rack-mini-profiler
752745
rails (= 8.1.3)
753746
rails-controller-testing
754-
rbtrace
755747
readline (~> 0.0.4)
756748
recaptcha
757749
redcarpet
@@ -770,7 +762,6 @@ DEPENDENCIES
770762
shoryuken
771763
simplecov
772764
simplecov-cobertura
773-
skylight
774765
sprockets-rails
775766
stackprof
776767
stripe
@@ -780,7 +771,6 @@ DEPENDENCIES
780771
twilio-ruby (~> 7.10.0)
781772
typeprof
782773
tzinfo-data
783-
webrick
784774
will_paginate
785775
with_advisory_lock
786776
yard

config/application.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ class Application < Rails::Application
3535
config.middleware.insert_after ActionDispatch::Executor, Intercode::FindVirtualHost
3636
config.middleware.use Rack::Deflater
3737

38-
config.skylight.probes += %w[active_job graphql] if config.respond_to?(:skylight)
39-
40-
# To enable tsvectors and triggers; hopefully can get rid of this at some point :(
38+
# To enable tsvectors and triggers; hopefully can get rid of this at some point :(
4139
config.active_record.schema_format = :sql
4240

4341
config.generators do |g|

fly.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ JSON_LOGGING = "1"
2222
MALLOC_ARENA_MAX = "2"
2323
RACK_ENV = "production"
2424
RAILS_ENV = "production"
25-
RAILS_GROUPS = "skylight"
2625
RAILS_LOG_TO_STDOUT = "enabled"
2726
RAILS_MAX_THREADS = "3"
2827
RAILS_SERVE_STATIC_FILES = "enabled"

0 commit comments

Comments
 (0)