This content has been automatically translated from Ukrainian.
Recently encountered an error in Codecov that was actually a false alert. It only appeared on the Codecov side and caused a CI failure after pushing a new file located in the wrong place.
/usr/local/bundle/gems/docile-1.4.1/lib/docile/fallback_context_proxy.rb:93:in 'Docile::FallbackContextProxy#method_missing': [DEPRECATION] #adapters is deprecated. Use #profiles instead.
Reason
The file was saved at the path:
interactors/bla/lib/hehe.rb
But in the code, the module was declared without matching the path:
module Bla class Hehe
The absence of Lib in the namespace caused a conflict.
Fix
The module declaration needs to be aligned with the file structure:
module Bla
module Lib
class Hehe
After the fix, Codecov no longer triggered the error. But this is just my case. There are many mentions of this error online, which can be caused by various things that are unfortunately not so easy to debug.
This post doesn't have any additions from the author yet.