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

dcdpr / jp / 24536510404
66%

Build:
DEFAULT BRANCH: main
Ran 16 Apr 2026 10:19PM 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 10:07PM UTC coverage: 64.249% (-0.02%) from 64.272%
24536510404

push

github

web-flow
feat(llm, mcp): Forward tool and MCP server stderr to tracing (#573)

Tool commands and MCP server processes previously discarded their stderr
output entirely, making it impossible to diagnose failures without
attaching a debugger or wrapping the binary.

Both outputs are now piped and forwarded line-by-line to tracing using
byte-level readers, so non-UTF-8 output doesn't terminate the forwarder.
Tool command stderr is tagged with the invocation's id and name and
emitted under `tool::stderr`; MCP server stderr is tagged with the
server id and emitted under `mcp::stderr`. Users can opt in selectively,
e.g.:

    jp --log=mcp::stderr=trace query "..."
    jp --log=tool::stderr=trace query "..."

To support optional forwarding, `run_tool_command` gains a new
`trace_as: Option<ToolTrace<'_>>` parameter. Passing `None` disables
forwarding (used for argument-formatting invocations where stderr is not
meaningful). `ToolTrace` is also re-exported from `jp_llm`.

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

32 of 67 new or added lines in 3 files covered. (47.76%)

173 existing lines in 5 files now uncovered.

22953 of 35725 relevant lines covered (64.25%)

249.93 hits per line

Uncovered Changes

Lines Coverage ∆ File
22
4.2
-0.39% crates/jp_mcp/src/client.rs
13
31.69
1.91% crates/jp_llm/src/tool.rs

Coverage Regressions

Lines Coverage ∆ File
76
81.49
0.05% crates/jp_llm/src/provider/anthropic.rs
50
86.07
-0.02% crates/jp_llm/src/provider/google.rs
27
79.5
-0.05% crates/jp_llm/src/provider/openrouter.rs
17
76.11
-0.05% crates/jp_llm/src/provider/openai.rs
3
31.69
1.91% crates/jp_llm/src/tool.rs
Jobs
ID Job ID Ran Files Coverage
1 24536510404.1 16 Apr 2026 10:19PM UTC 287
64.25
GitHub Action Run
Source Files on build 24536510404
  • Tree
  • List 287
  • Changed 7
  • Source Changed 7
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24536510404
  • e7e80001 on github
  • Prev Build on main (#24536490288)
  • Next Build on main (#24537554831)
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