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

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

Build:
Build:
LAST BUILD BRANCH: jdc-fix-4706-url-with-unimportable-iconic-taxon
DEFAULT BRANCH: main
Ran 05 Jul 2026 07:28PM UTC
Jobs 1
Files 1718
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

05 Jul 2026 07:23PM UTC coverage: 98.479% (+0.006%) from 98.473%
28752114414

Pull #4688

github

nimmolo
set_user_from_session only needs to set @user, not User.current

Verified neither caller (autocompleters_controller, images/originals_controller)
reads User.current anywhere in its request path - no version-saving,
no Image creation, and the shared around_action's IP-stats logging
reads @user, not the global. Setting User.current here was propping
up exactly the ambient-global reliance this cleanup is trying to
remove; a future caller that needs it for a model default should pass
user: explicitly instead.

Fixed test_user_maxed_out, which relied on User.current still holding
the logged-in user after the request returned (broken by the above,
since the shared around_action resets User.current at the start of
every request) - now references the fixture user directly.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Pull Request #4688: Close remaining User.current reads in controllers/views; drop cop exemptions

9 of 10 new or added lines in 7 files covered. (90.0%)

4 existing lines in 1 file now uncovered.

51402 of 52196 relevant lines covered (98.48%)

752.4 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
0.0
0.0% lib/rubocop/cop/mushroom_observer/no_user_current_in_views.rb

Coverage Regressions

Lines Coverage ∆ File
4
0.0
0.0% lib/rubocop/cop/mushroom_observer/no_user_current_in_views.rb
Jobs
ID Job ID Ran Files Coverage
1 28752114414.1 05 Jul 2026 07:28PM UTC 1718
98.48
GitHub Action Run
Source Files on build 28752114414
  • Tree
  • List 1718
  • Changed 10
  • Source Changed 10
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28752114414
  • Pull Request #4688
  • PR Base - main (#28750597140)
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