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

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

Build:
Build:
LAST BUILD BRANCH: nimmo-fix-solidqueue-db-pool-size
DEFAULT BRANCH: main
Ran 07 Jul 2026 04:37PM UTC
Jobs 1
Files 1719
Run time 4min
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

07 Jul 2026 04:32PM UTC coverage: 99.048% (-0.06%) from 99.103%
28882362678

Pull #4719

github

JoeCohen
Fix handling of licensed param in URL

- Fixes superimporter "import others" confirm counts and unlicensed-obs handling

The confirm page miscounted Requested/Expected/Already-imported when a superimporter's URL filtered on `licensed=false`, and unlicensed observations were misclassified as "already imported" instead of their own category.

- `URLNormalizer` no longer strips `licensed` from the URL, so estimates reflect the user's actual request.
- `Estimators` adds `not_yet_imported`/`licensed_explicitly_false?` so Expected/Total Ignored short-circuit correctly instead of querying an unrelated population.
- `PageParser#add_ownership_filter` now defaults `licensed:true` instead of always overriding it.
- `ObservationImporter#unlicensed_other?` is the real safety net: for import-others, an obs with no iNat license is skipped entirely (new `ignored_unlicensed_count`), while individual unlicensed photos on an otherwise-licensed obs are still skipped per-image as before.
- Confirm page moves the unlicensed count into the Ignored Observations breakdown for import-others.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Pull Request #4719: Fix handling of licensed param in URL

42 of 42 new or added lines in 8 files covered. (100.0%)

29 existing lines in 11 files now uncovered.

51710 of 52207 relevant lines covered (99.05%)

754.76 hits per line

Coverage Regressions

Lines Coverage ∆ File
10
93.42
-6.58% app/controllers/observations_controller/create.rb
2
60.0
-40.0% app/classes/api2/error/bad_method.rb
2
60.0
-40.0% app/classes/api2/error/couldnt_download_url.rb
2
86.67
-13.33% app/classes/api2/error/error.rb
2
60.0
-40.0% app/classes/api2/error/field_slip_in_use.rb
2
60.0
-40.0% app/classes/api2/error/file_missing.rb
2
60.0
-40.0% app/classes/api2/error/image_upload_failed.rb
2
60.0
-40.0% app/classes/api2/error/project_taken.rb
2
60.0
-40.0% app/classes/api2/error/query_error.rb
2
60.0
-40.0% app/classes/api2/error/user_group_taken.rb
1
86.67
-6.67% app/classes/api2/error/object_error.rb
Jobs
ID Job ID Ran Files Coverage
1 28882362678.1 07 Jul 2026 04:37PM UTC 1719
99.05
GitHub Action Run
Source Files on build 28882362678
  • Tree
  • List 1719
  • Changed 23
  • Source Changed 13
  • Coverage Changed 23
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28882362678
  • Pull Request #4719
  • PR Base - main (#28878011114)
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