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

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

Build:
Build:
LAST BUILD BRANCH: nimmo-user-apikey-remaining-user-current
DEFAULT BRANCH: main
Ran 06 Jul 2026 12:34PM UTC
Jobs 1
Files 1721
Run time 3min
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

06 Jul 2026 12:26PM UTC coverage: 98.784% (+0.002%) from 98.782%
28791597694

Pull #4700

github

nimmolo
Fix real gaps the full suite caught: Comment/TranslationString callers

Full-suite run after the Comment and TranslationString conversions
surfaced two caller patterns the plan missed:

- Names::Synonyms::SharedPrivateMethods#post_comment builds/saves a
  Comment directly (not through CommentsController#create), with no
  current_user set - a real attribution gap now that check_user/
  no_recent_duplicate no longer fall back to the global.
- test/models/observation_test.rb's email-notification tests build
  Comment.create(...) directly with User.current set beforehand,
  relying on the same fallback.
- test/models/language_test.rb's set_text helper calls str.save
  directly (TranslationString's only production writer is
  LanguageExporter, but tests exercised the model directly), relying
  on User.current to drive update_version?'s per-user version
  collapsing.

Thread current_user/user explicitly through all of them.
Pull Request #4700: Convert Comment/Herbarium/GlossaryTerm/NameTracker/TranslationString/UserStats/LanguageExporter off User.current

31 of 31 new or added lines in 11 files covered. (100.0%)

3 existing lines in 1 file now uncovered.

51667 of 52303 relevant lines covered (98.78%)

747.26 hits per line

Coverage Regressions

Lines Coverage ∆ File
3
95.97
0.0% app/models/herbarium.rb
Jobs
ID Job ID Ran Files Coverage
1 28791597694.1 06 Jul 2026 12:34PM UTC 1721
98.78
GitHub Action Run
Source Files on build 28791597694
  • Tree
  • List 1721
  • Changed 13
  • Source Changed 13
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28791597694
  • Pull Request #4700
  • PR Base - main (#28790310928)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc