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

futpib / claugrep / 28471534356
91%

Build:
DEFAULT BRANCH: master
Ran 30 Jun 2026 07:50PM UTC
Jobs 1
Files 9
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

30 Jun 2026 07:44PM UTC coverage: 91.154% (-0.7%) from 91.877%
28471534356

push

github

futpib-bot2
test: hermetic, reproducible opencode e2e suite (tests/opencode.rs)

The opencode tests in tests/live.rs were machine-dependent: they probed the
real ~/.local/share/opencode/opencode.db and SKIPPED on any machine without
opencode session data, so they proved nothing in CI or on a clean box.

Replace them with tests/opencode.rs, mirroring the hermetic tests/mock.rs
pattern used for Claude: each test builds a synthetic opencode SQLite DB
(session/message/part) in a temp dir via rusqlite (added to dev-dependencies)
and runs the REAL claugrep binary against it with --opencode-db / XDG_DATA_HOME
isolation. No real data, no skipping, fully deterministic, ~0.05s.

Covers: sessions (newest-first, --json backend tag, --subagents), search per
target type (user/assistant/thinking/bash-command/bash-output), default-search
bash-output regression, case-insensitive subtype, the normalized --json
envelope, dump target filtering, edit unified-diff rendering, projects,
date filters, auto-detect via XDG_DATA_HOME, and AGENTS.md memory walking.

Removed the six machine-dependent opencode tests + helpers from tests/live.rs.
377 tests pass.

4235 of 4646 relevant lines covered (91.15%)

43.0 hits per line

Coverage Regressions

Lines Coverage ∆ File
103
88.49
2.51% src/main.rs
39
95.7
0.0% src/parser.rs
30
89.7
-0.13% src/sessions.rs
19
90.37
0.66% src/memory.rs
3
98.95
0.01% src/search.rs
Jobs
ID Job ID Ran Files Coverage
1 28471534356.1 30 Jun 2026 07:50PM UTC 9
91.15
GitHub Action Run
Source Files on build 28471534356
  • Tree
  • List 9
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28471534356
  • e3d39eda on github
  • Prev Build on master (#26729687219)
  • Next Build on master (#28478772857)
  • 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

© 2026 Coveralls, Inc