• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

MushroomObserver / mushroom-observer / 30215003622
99%
main: 99%

Build:
Build:
LAST BUILD BRANCH: 4828-skeleton-import-for-unlicensed-observations
DEFAULT BRANCH: main
Ran 26 Jul 2026 06:39PM UTC
Jobs 1
Files 1802
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Jul 2026 06:34PM UTC coverage: 99.162%. Remained the same
30215003622

push

github

nimmolo
Extend the missing-tag scanner to catch bare errors.add(:field, :tag) typos

The Phase 2 bare-tag conversion (errors.add(:field, :tag, **args),
resolved by config/initializers/active_model_error_tag_resolution.rb)
silently broke test_find_missing_tags_and_duplicate_method_defs'
ability to catch a typo'd/undefined tag: its regex only matches
:tag.t/.l/.tl/.tp/.tpl call syntax, and a bare deferred tag has no
such suffix. Confirmed the regression directly - typo'd a converted
tag, ran the scanner, it passed; reverted the typo.

Adds a second scan, errors_add_tag_errors_in_file, that finds each
errors.add(...) call (paren-balanced across lines, since several
converted call sites split the tag onto a line after the opening
paren) and checks its tag arg against known_tags the same way. Guards
against false positives on Rails' own built-in validation types
(:blank, :taken, etc., which deliberately have no mo.* translation)
via a RAILS_NATIVE_ERROR_TYPES allowlist pulled from ActiveModel/
ActiveRecord's own default locale files. Verified: the same typo that
slipped through before is now caught with the exact line number;
:blank/:taken don't false-positive.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

53342 of 53793 relevant lines covered (99.16%)

841.11 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30215003622.1 26 Jul 2026 06:39PM UTC 1802
99.16
GitHub Action Run
Source Files on build 30215003622
  • Tree
  • List 1802
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30215003622
  • ba88b9aa on github
  • Prev Build on nimmo-4901-phase2-deferred-error-tags (#30214515300)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc