DeepSeek V4 Pro · Heavy
feature-localization-fallbacks-server-side-discourse-cursor
Discourse · Ruby · S · 30–99 lines · 6 files
The generalist plus 9 specialist lens agents in parallel, then the same verify and dedup steps. Judge: Claude Opus 5.5.
- Gold bugs found
- 1 of 3
- Comments published
- 2
- Comments matching a bug
- 1
- Comments not matching
- 1
- Cost of this PR
- $1.328
Published comments (2)
I18n fallback wiring missing outside ApplicationController#set_locale — Non-HTTP contexts never trigger fallback loading, so Sidekiq jobs risk missing translations or a `NoMethodError` from `@loaded_locales` on first `I18n.t`. Wire the ensure-loaded fallback setup into the job runner and other non-controller entry points, not just `ApplicationController#set_locale`.
FallbackLocaleList#[] never stores computed fallbacks in Hash — Because the computed list is discarded, `I18n.fallbacks` stays permanently empty for every Hash API, so enumeration or inspection silently returns nothing. Store the computed fallbacks in the hash so `each`, `keys`, `key?`, `size`, and `to_a` see the configured mapping.