Skip to content

Instantly share code, notes, and snippets.

@zunda
Created September 6, 2023 19:57
Show Gist options
  • Save zunda/5fa78cf29becbc9f6606c676ec063717 to your computer and use it in GitHub Desktop.
Save zunda/5fa78cf29becbc9f6606c676ec063717 to your computer and use it in GitHub Desktop.
Mastodonがバックトレースをぜんぶ記録するようになっちゃった
pid=65 tid=742h WARN: Stoplight::Error::RedLight: https://example.com/inbox
pid=65 tid=742h WARN: /app/vendor/bundle/ruby/3.2.0/gems/stoplight-3.0.2/lib/stoplight/light/runnable.rb:50:in `run_red'
/app/vendor/bundle/ruby/3.2.0/gems/stoplight-3.0.2/lib/stoplight/light/runnable.rb:25:in `run'
/app/app/workers/activitypub/delivery_worker.rb:75:in `perform_request'
/app/app/workers/activitypub/delivery_worker.rb:36:in `perform'
/app/vendor/bundle/ruby/3.2.0/gems/sidekiq-6.5.9/lib/sidekiq/processor.rb:202:in `execute_job'
/app/vendor/bundle/ruby/3.2.0/gems/sidekiq-6.5.9/lib/sidekiq/processor.rb:170:in `block (2 levels) in process'
/app/vendor/bundle/ruby/3.2.0/gems/sidekiq-6.5.9/lib/sidekiq/middleware/chain.rb:177:in `block in invoke'
/app/vendor/bundle/ruby/3.2.0/gems/sidekiq-unique-jobs-7.1.29/lib/sidekiq_unique_jobs/middleware.rb:36:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/sidekiq-6.5.9/lib/sidekiq/middleware/chain.rb:179:in `block in invoke'
/app/vendor/bundle/ruby/3.2.0/gems/chewy-7.3.4/lib/chewy/strategy.rb:60:in `wrap'
/app/vendor/bundle/ruby/3.2.0/gems/chewy-7.3.4/lib/chewy.rb:154:in `strategy'
/app/lib/mastodon/sidekiq_middleware.rb:7:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/sidekiq-6.5.9/lib/sidekiq/middleware/chain.rb:179:in `block in invoke'
/app/vendor/bundle/ruby/3.2.0/gems/scout_apm-5.2.0/lib/scout_apm/background_job_integrations/sidekiq.rb:62:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/sidekiq-6.5.9/lib/sidekiq/middleware/chain.rb:179:in `block in invoke'
/app/vendor/bundle/ruby/3.2.0/gems/sidekiq-6.5.9/lib/sidekiq/middleware/chain.rb:182:in `invoke'
/app/vendor/bundle/ruby/3.2.0/gems/sidekiq-6.5.9/lib/sidekiq/processor.rb:169:in `block in process'
/app/vendor/bundle/ruby/3.2.0/gems/sidekiq-6.5.9/lib/sidekiq/processor.rb:136:in `block (6 levels) in dispatch'
/app/vendor/bundle/ruby/3.2.0/gems/sidekiq-6.5.9/lib/sidekiq/job_retry.rb:113:in `local'
/app/vendor/bundle/ruby/3.2.0/gems/sidekiq-6.5.9/lib/sidekiq/processor.rb:135:in `block (5 levels) in dispatch'
/app/vendor/bundle/ruby/3.2.0/gems/sidekiq-6.5.9/lib/sidekiq/rails.rb:14:in `block in call'
/app/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.7.2/lib/active_support/execution_wrapper.rb:92:in `wrap'
/app/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.7.2/lib/active_support/reloader.rb:72:in `block in wrap'
/app/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.7.2/lib/active_support/execution_wrapper.rb:92:in `wrap'
/app/vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.7.2/lib/active_support/reloader.rb:71:in `wrap'
/app/vendor/bundle/ruby/3.2.0/gems/sidekiq-6.5.9/lib/sidekiq/rails.rb:13:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/sidekiq-6.5.9/lib/sidekiq/processor.rb:131:in `block (4 levels) in dispatch'
/app/vendor/bundle/ruby/3.2.0/gems/sidekiq-6.5.9/lib/sidekiq/processor.rb:263:in `stats'
/app/vendor/bundle/ruby/3.2.0/gems/sidekiq-6.5.9/lib/sidekiq/processor.rb:126:in `block (3 levels) in dispatch'
/app/vendor/bundle/ruby/3.2.0/gems/sidekiq-6.5.9/lib/sidekiq/job_logger.rb:13:in `call'
/app/vendor/bundle/ruby/3.2.0/gems/sidekiq-6.5.9/lib/sidekiq/processor.rb:125:in `block (2 levels) in dispatch'
/app/vendor/bundle/ruby/3.2.0/gems/sidekiq-6.5.9/lib/sidekiq/job_retry.rb:80:in `global'
/app/vendor/bundle/ruby/3.2.0/gems/sidekiq-6.5.9/lib/sidekiq/processor.rb:124:in `block in dispatch'
/app/vendor/bundle/ruby/3.2.0/gems/sidekiq-6.5.9/lib/sidekiq/job_logger.rb:39:in `prepare'
/app/vendor/bundle/ruby/3.2.0/gems/sidekiq-6.5.9/lib/sidekiq/processor.rb:123:in `dispatch'
/app/vendor/bundle/ruby/3.2.0/gems/sidekiq-6.5.9/lib/sidekiq/processor.rb:168:in `process'
/app/vendor/bundle/ruby/3.2.0/gems/sidekiq-6.5.9/lib/sidekiq/processor.rb:78:in `process_one'
/app/vendor/bundle/ruby/3.2.0/gems/sidekiq-6.5.9/lib/sidekiq/processor.rb:68:in `run'
/app/vendor/bundle/ruby/3.2.0/gems/sidekiq-6.5.9/lib/sidekiq/component.rb:8:in `watchdog'
/app/vendor/bundle/ruby/3.2.0/gems/sidekiq-6.5.9/lib/sidekiq/component.rb:17:in `block in safe_thread'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment