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

dcdpr / jp / 26402944318
66%

Build:
DEFAULT BRANCH: main
Ran 25 May 2026 01:29PM UTC
Jobs 1
Files 380
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

25 May 2026 01:28PM UTC coverage: 65.879% (+0.07%) from 65.81%
26402944318

push

github

web-flow
refactor(grizzly): Replace `MatchGroup`/context with `Snippet` and hit lists (#668)

The `SearchMatch` type previously returned groups of context lines
(similar to `grep -C`), which was unbounded in size and leaked raw note
content into every search response.

Replace that model with a compact, size-bounded result:

- `groups: Vec<MatchGroup>` is removed. In its place, `SearchMatch` now
carries `line_hits` (1-indexed line numbers, capped at `max_line_hits`),
`total_hits` (always the true count), and a `snippet` — a short excerpt
centered on the first match, truncated with `…` at `snippet_chars`
characters.
- `SearchMatch` now also includes `tags` and `updated_at`, fetched in a
single batch `fetch_metadata` query so callers no longer need a separate
`note_get` round-trip just to identify a note.
- `SearchParams` drops the `context` field and gains `snippet_chars`
(default 200) and `max_line_hits` (default 20).
- `make_snippet` is Unicode-safe: it counts chars, not bytes, and clamps
the window to the actual match position.
- The MCP tool description for `note_search` is updated to explain the
new response shape and how to follow up with `note_get` when full
content is needed.
- `Snippet` is re-exported from the crate root.

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

153 of 153 new or added lines in 1 file covered. (100.0%)

8 existing lines in 2 files now uncovered.

31477 of 47780 relevant lines covered (65.88%)

258.09 hits per line

Coverage Regressions

Lines Coverage ∆ File
7
81.86
-3.1% crates/contrib/schematic_macros/src/common/field.rs
1
90.74
-0.93% crates/contrib/schematic_macros/src/common/container.rs
Jobs
ID Job ID Ran Files Coverage
1 26402944318.1 25 May 2026 01:29PM UTC 380
65.88
GitHub Action Run
Source Files on build 26402944318
  • Tree
  • List 380
  • Changed 5
  • Source Changed 3
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26402944318
  • 99e2b879 on github
  • Prev Build on main (#26401591354)
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