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

MushroomObserver / mushroom-observer / 27878919625
98%

Build:
DEFAULT BRANCH: main
Ran 20 Jun 2026 05:47PM UTC
Jobs 1
Files 1656
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

20 Jun 2026 05:42PM UTC coverage: 98.385%. Remained the same
27878919625

push

github

web-flow
Remediate orphaned iNat-imported images (#4543) (#4567)

* Add #4543 orphan-image remediation script (CSV-driven)

One-time remediation for orphaned iNat-imported images (issue #4543):
images whose iNat source photo was later deleted on iNat.

script/remediate_orphan_inat_images.rb is driven entirely by the reviewed
inat_orphan_reviewed.csv decision column:

- Adopt  -> keep as MO-native. An adopted orphan has no live iNat photo, so
            its stored provenance is stale: clear source_id + external_id
            (the combo a future sync keys off, #4215/#4529) and rewrite the
            notes prefix "Imported from iNat ..." -> "Adopted from iNat ..."
            (timestamp preserved; original_name untouched).
- Delete -> destroy the image via the controller's path (log_destroy +
            destroy: thumbnails reassigned, join rows cleaned up).
- Ask    -> awaiting observer; skipped.

Dry-run by default; APPLY=1 writes; CSV=... overrides the file. Idempotent.

Dry run against the current CSV: 60 adopt (21 with stale source/external
cleared), 7 delete, 4 Ask rows skipped (10 images) = 77 images, reconciling
with the #4213 audit count.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* Align orphan-remediation doc to the named CSV columns

The reviewed CSV now names its decision/reason columns `action`/`why`
(self-describing header). Update the script's header comment to reference the
`action` column by name instead of "column 2". No behavior change — parsing is
still positional.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* Update orphan csv

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

49512 of 50325 relevant lines covered (98.38%)

681.75 hits per line

Jobs
ID Job ID Ran Files Coverage
1 27878919625.1 20 Jun 2026 05:47PM UTC 1656
98.38
GitHub Action Run
Source Files on build 27878919625
  • Tree
  • List 1656
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27878919625
  • 90ec5a24 on github
  • Prev Build on main (#27848278785)
  • Next Build on main (#27879036777)
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