You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Ruby telemetry: a bare logger.info / @logger.warn never fires (rule needs an identifier prefix before 'logger') #9437
SOP-002-v1 gap-cell decoy suite (epic #8863), Ruby batch.
False negative. Ruby telemetry never fires on the most common logger call, a bare logger.info(msg) or @logger.warn(msg). The third branch is [ID_START][ID_CONTINUE]*logger\.(?:debug|info|...), which needs at least one identifier character before the word logger, so only app_logger.info (or Rails.logger.info, SemanticLogger.info, Logger.new.info) fire.
logger.info(message)# expected >= 1, actual 0@logger.warn(message)# expected >= 1, actual 0
Pinned by strict xfail in tests/decoys/test_decoy_ruby.py.
Activity
tests/decoys: SOP-002 gap-cell decoy suites, batch E (ruby, lua, shel…