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

dcdpr / jp / 28932561173
69%

Build:
DEFAULT BRANCH: main
Ran 08 Jul 2026 09:35AM UTC
Jobs 1
Files 433
Run time 2min
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

08 Jul 2026 09:32AM UTC coverage: 68.226% (-0.1%) from 68.34%
28932561173

push

github

web-flow
fix(llm, cli, task): Fail fast on missing provider credentials (#855)

`jp query` no longer spends time spawning title generation, waiting for
MCP servers, or loading attachments when the assistant provider is
misconfigured (e.g. a missing API key environment variable). The
missing-credential error now surfaces immediately, before any of that
side-effectful work starts, instead of only after the request attempt
fails deep inside the turn.

`jp_llm::provider` gains a `preflight` function that validates a
provider's credentials and configuration synchronously, with no I/O.
`query` calls it before scheduling background work, and
`TitleGeneratorTask` calls it before spawning, so a misconfigured title
model is skipped with a warning instead of failing the whole query after
holding teardown open.

When a command run is aborted and its state discarded, `jp` now cancels
the task handler's soft-cancellation token immediately, so background
tasks tied to the discarded run skip the soft wait and move straight to
the 2s grace period instead of blocking teardown for up to 10s.

---------

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

38 of 63 new or added lines in 6 files covered. (60.32%)

90 existing lines in 6 files now uncovered.

39022 of 57195 relevant lines covered (68.23%)

672.93 hits per line

Uncovered Changes

Lines Coverage ∆ File
21
75.23
-2.11% crates/jp_cli/src/cmd/query/turn_loop.rs
3
39.94
-6.36% crates/jp_cli/src/cmd/query.rs
1
0.0
0.0% crates/jp_task/src/task/title_generator.rs

Coverage Regressions

Lines Coverage ∆ File
68
39.94
-6.36% crates/jp_cli/src/cmd/query.rs
14
64.37
-16.09% crates/jp_cli/src/ctx.rs
3
76.4
-0.44% crates/jp_config/src/conversation/tool.rs
3
83.33
-5.0% crates/jp_conversation/src/event/chat.rs
1
31.66
7.68% crates/jp_cli/src/cmd.rs
1
39.8
0.12% crates/jp_cli/src/lib.rs
Jobs
ID Job ID Ran Files Coverage
1 28932561173.1 08 Jul 2026 09:35AM UTC 433
68.23
GitHub Action Run
Source Files on build 28932561173
  • Tree
  • List 433
  • Changed 10
  • Source Changed 6
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28932561173
  • 4913621e on github
  • Prev Build on main (#28930272646)
  • Next Build on main (#28933722758)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc