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

MushroomObserver / mushroom-observer / 27617798818
98%
main: 98%

Build:
Build:
LAST BUILD BRANCH: njw-4536-inat-blank-line-marker
DEFAULT BRANCH: main
Ran 16 Jun 2026 12:37PM UTC
Jobs 1
Files 1632
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

16 Jun 2026 12:33PM UTC coverage: 97.71% (-0.07%) from 97.777%
27617798818

Pull #4547

github

nimmolo
fixups: address Copilot review on #4547 + add three controller tests

Three real findings from Copilot:

- `locations/search#show` (turbo_stream branch) was using
  `turbo_stream.update(:search_bar_help, html: render_to_string(...))`.
  The `html:` kwarg isn't accepted by Turbo's update builder, so the
  stream would emit an empty template. Match the existing
  `names/search#show` pattern: pass the Phlex view directly as the
  second positional arg.
- `support/donors` Phlex view declared `prop :donor_list,
  _Array(_Hash(String, String))`, but `Donation.donor_list` returns
  hashes with numeric / Time values (`total`, `most_recent`). The
  view only ever reads `donor["who"]`, so the prop is now
  `prop :donor_names, _Array(String)` and the controller maps the
  hash list down to the name array before constructing the view.
- `info/translators_note` was calling `Language.all.sort_by(&:order)`
  inside the Phlex view — an AR query in view code, blocked by
  `no_queries_in_phlex_views_test`. Moved to the controller; the view
  takes a typed `languages:` prop.

Coverage cleanup:

- Deleted two unreachable Phlex views (`info/letter_to_community.rb`,
  `info/risd_terminology.rb`). The ERBs they were converted from had
  no controller action or route; the rendering paths never existed.
- Added smoke tests for `info#translators_note` and
  `locations/help#show` — both were silently 0/total on coveralls.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Pull Request #4547: controllers: ERB→Phlex sweep for licenses, publications, interests, support, theme, policy, info, locations

1099 of 1123 new or added lines in 64 files covered. (97.86%)

33 existing lines in 5 files now uncovered.

49029 of 50178 relevant lines covered (97.71%)

675.15 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
84.0
app/views/controllers/support/confirm.rb
5
83.33
app/views/controllers/info/site_stats.rb
3
95.31
app/views/controllers/interests/index.rb
3
93.88
app/views/controllers/publications/index.rb
3
93.18
app/views/controllers/publications/show.rb
1
98.65
-1.35% app/controllers/publications_controller.rb
1
98.28
app/views/controllers/locations/index.rb

Coverage Regressions

Lines Coverage ∆ File
11
38.89
-61.11% app/helpers/licenses_helper.rb
10
87.3
-7.94% app/controllers/concerns/searchable.rb
6
70.0
-30.0% app/helpers/locations_helper.rb
5
86.67
-11.11% app/helpers/link_helper.rb
1
99.51
-0.49% app/helpers/forms_helper.rb
Jobs
ID Job ID Ran Files Coverage
1 27617798818.1 16 Jun 2026 12:37PM UTC 1632
97.71
GitHub Action Run
Source Files on build 27617798818
  • Tree
  • List 1632
  • Changed 21
  • Source Changed 16
  • Coverage Changed 21
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27617798818
  • Pull Request #4547
  • PR Base - main (#27581919426)
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