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

dcdpr / jp / 24534241672
66%

Build:
DEFAULT BRANCH: main
Ran 16 Apr 2026 09:15PM UTC
Jobs 1
Files 287
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

16 Apr 2026 09:11PM UTC coverage: 64.282% (+0.1%) from 64.187%
24534241672

push

github

web-flow
chore(tools): Add markdown-first strategy to `web_fetch` (#570)

The `web_fetch` tool previously fetched pages as HTML and converted to
markdown. Many documentation platforms (Mintlify, GitBook, Fumadocs)
publish a clean markdown twin at `{path}.md`, which is cheaper to
process and produces better output than HTML-to-markdown conversion.

The tool now supports three strategies, controlled via `tool.options`:

- `auto` (default): probe `{url}.md` first; fall back to HTML
- `markdown`: require the `.md` variant; error if unavailable
- `html`: skip the probe and fetch HTML directly (previous behavior)

Per-domain overrides are supported via `options.domains`, e.g.:

```toml
options.domains."github.com" = "html"
options.domains."*.mintlify.app" = "markdown"
```

Defaults ship with `github.com`, `docs.rs`, and `crates.io` pinned to
`html` since those sites don't follow the `.md` convention.

The implementation splits the monolithic `fetch.rs` into three
sub-modules: `html` (old pipeline), `markdown` (new pipeline), and
`options` (strategy/domain rule parsing). Section listing and extraction
now work for both HTML and markdown sources, using GitHub-style heading
slugs as anchor IDs in both cases.

---------

Signed-off-by: Jean Mertz <git@jeanmertz.com>

466 of 628 new or added lines in 5 files covered. (74.2%)

3 existing lines in 1 file now uncovered.

22934 of 35677 relevant lines covered (64.28%)

206.95 hits per line

Uncovered Changes

Lines Coverage ∆ File
97
70.34
.config/jp/tools/src/web/fetch/html.rs
49
80.32
.config/jp/tools/src/web/fetch/markdown.rs
14
37.5
-32.36% .config/jp/tools/src/web/fetch.rs
1
0.0
0.0% .config/jp/tools/src/web.rs
1
95.65
.config/jp/tools/src/web/fetch/options.rs

Coverage Regressions

Lines Coverage ∆ File
3
37.5
-32.36% .config/jp/tools/src/web/fetch.rs
Jobs
ID Job ID Ran Files Coverage
1 24534241672.1 16 Apr 2026 09:15PM UTC 287
64.28
GitHub Action Run
Source Files on build 24534241672
  • Tree
  • List 287
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24534241672
  • 78b71095 on github
  • Prev Build on main (#24531539367)
  • Next Build on main (#24536490288)
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