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

dcdpr / jp / 19033105445
58%

Build:
DEFAULT BRANCH: main
Ran 03 Nov 2025 11:30AM UTC
Jobs 1
Files 152
Run time 3min
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

03 Nov 2025 11:28AM UTC coverage: 48.077% (-0.02%) from 48.095%
19033105445

push

github

web-flow
refactor(config, llm)!: Rename `RunMode::Always` to `Unattended` (#308)

The tool calling configuration used confusing terminology and overly
complex control flow. `RunMode::Always` and `ResultMode::Always` didn't
clearly convey that tools run without user interaction, while the
`Never` variants added complexity without clear benefit over `enabled =
false`.

This change renames `Always` to `Unattended` across both `RunMode` and
`ResultMode` enums, making the intent explicit: tools run without
attended user interaction. The `Never` variants are removed entirely -
for `RunMode`, the rejection-with-reasoning functionality is integrated
directly into the `Ask` prompt as option 'r', eliminating the need for a
separate mode.

The control flow in `prepare_run` and `prepare_result` is significantly
simplified by replacing loop-based state machines with direct recursion
using `Box::pin()`. This eliminates `continue` statements and makes the
code paths more straightforward to follow.

All configuration files are updated to use the new `unattended` value,
replacing the previous `always` setting throughout personas and tool
configurations.

BREAKING CHANGE: Configuration values changed

The `run` and `result` configuration fields no longer accept `always` or
`never` values. Replace `always` with `unattended` in all tool
configurations. The `never` mode is removed - use the runtime prompt
options instead to skip tool execution when needed, or disable the tool
completely with `enabled = false`.

Related: #199

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

0 of 115 new or added lines in 1 file covered. (0.0%)

2 existing lines in 1 file now uncovered.

7699 of 16014 relevant lines covered (48.08%)

14.49 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
115
12.17
-0.13% crates/jp_llm/src/tool.rs

Uncovered Existing Lines

Lines Coverage ∆ File
2
12.17
-0.13% crates/jp_llm/src/tool.rs
Jobs
ID Job ID Ran Files Coverage
1 19033105445.1 03 Nov 2025 11:30AM UTC 152
48.08
GitHub Action Run
Source Files on build 19033105445
  • Tree
  • List 152
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19033105445
  • 0922ee38 on github
  • Prev Build on main (#19031308849)
  • Next Build on main (#19033111101)
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