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

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

Build:
Build:
LAST BUILD BRANCH: jdc-rubocop-1-88-1
DEFAULT BRANCH: main
Ran 06 Jul 2026 07:02AM UTC
Jobs 1
Files 1725
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 06:57AM UTC coverage: 98.629%. Remained the same
28773666516

Pull #4697

github

nimmolo
Fix Location#merge's destroy step not carrying current_user over

log_and_destroy_location refetches a fresh (non-strict_loading)
Location instance for the actual destroy cascade - same pattern bug as
ObservationsController::Destroy fixed earlier in this sweep. The fresh
instance's current_user was never set, so UserStats/version-attribution
hooks on the destroyed old location would misattribute to nobody
regardless of who actually performed the merge. `user` was already
threaded into log_and_destroy_location for the rss_log orphan message;
just needed to also land on the refetched instance before destroying it.

Spotted via test/models/rss_log_test.rb's test_detail_for_merged_location,
which still set User.current as a workaround despite loc2.merge(mary, loc1)
already passing mary explicitly - removed now that the real fix makes it
unnecessary. Also dropped a stray commented-out User.current line in the
neighboring test_detail_for_destroyed_object.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Pull Request #4697: Remove remaining User.current reads (viewer-format) from Observation, Occurrence, Naming, Vote, Image

34 of 34 new or added lines in 13 files covered. (100.0%)

51659 of 52377 relevant lines covered (98.63%)

746.53 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28773666516.1 06 Jul 2026 07:02AM UTC 1725
98.63
GitHub Action Run
Source Files on build 28773666516
  • Tree
  • List 1725
  • Changed 14
  • Source Changed 14
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28773666516
  • Pull Request #4697
  • PR Base - main (#28772248452)
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