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

AnotherRegularDude / ollama-web-search-mcp / 20615329281
100%

Build:
DEFAULT BRANCH: main
Ran 31 Dec 2025 08:33AM UTC
Jobs 1
Files 26
Run time 1min
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

31 Dec 2025 08:32AM UTC coverage: 100.0%. Remained the same
20615329281

push

github

web-flow
refactor: replace legacy formatter with node-based system (#2)

TL;DR
Refactored the formatter system to use a flexible, tree-based node
structure for improved maintainability and dynamic content handling.

---

## Changes
- **New Node-Based Formatter System**:
- Added `app/cases/node/render_markdown.rb` for rendering node
structures to Markdown.
- Added `app/cases/node/resolve_content.rb` for resolving content text
from node data.
- Added `app/cases/node/truncate_content.rb` for intelligently
truncating content within node structures.
- **New Value Objects for Node Structures**:
- Added `app/value/node.rb` for representing formatted content as a tree
of nodes.
- Added `app/value/root_node.rb` for defining the root of formatting
schemas.
- **Updated Formatter System**:
- Refactored `app/cases/formatter/base.rb` to use the new node-based
system.
- Updated `app/cases/formatter/search_results.rb` and
`app/cases/formatter/fetch_result.rb` to build node-based schemas.
- **MCP Tool Updates**:
- Updated `app/mcp_ext/tool/web_search.rb` and
`app/mcp_ext/tool/web_fetch.rb` to use the new formatter system.
- **Service Layer Updates**:
- Updated `app/cases/search_web.rb` and `app/cases/web_fetch.rb` for
compatibility with the new formatter system.
- **Configuration and Dependency Updates**:
- Updated `Gemfile`, `Gemfile.lock`, and `.ruby-version` for
compatibility.
  - Updated `.rubocop.yml` for code style enforcement.
- **Test Updates**:
- Updated tests for all modified components, including formatters, node
services, MCP tools, and service objects.
  - Added new test files for the node-based formatter system.

---

## Dependencies
- Updated existing dependencies in `Gemfile.lock` to ensure
compatibility with the new formatter system.
- No new external dependencies were added.

---

## Notes
- **Breaking Changes**: This refactor replaces the legacy
component-based formatter system with a tree-based node system. While
the public API for `Cases::SearchWeb` and `C... (continued)

50 of 50 branches covered (100.0%)

Branch coverage included in aggregate %.

203 of 203 new or added lines in 24 files covered. (100.0%)

333 of 333 relevant lines covered (100.0%)

33.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 20615329281.1 31 Dec 2025 08:33AM UTC 52
99.86
GitHub Action Run
Source Files on build 20615329281
  • Tree
  • List 26
  • Changed 14
  • Source Changed 13
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #20615329281
  • 2279329b on github
  • Prev Build on main (#20001867629)
  • Next Build on main (#20615504786)
  • Delete
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

© 2025 Coveralls, Inc