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

dcdpr / jp / 24536510404 / 1
67%
main: 67%

Build:
DEFAULT BRANCH: main
Ran 16 Apr 2026 10:19PM UTC
Files 287
Run time 6s
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.1

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>

22953 of 35725 relevant lines covered (64.25%)

249.93 hits per line

Source Files on job 24536510404.1
  • Tree
  • List 287
  • Changed 7
  • Source Changed 7
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 24536510404
  • e7e80001 on github
  • Prev Job for on main (#24536490288.1)
  • Next Job for on main (#24537554831.1)
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