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

dcdpr / jp / 24240333167
67%

Build:
DEFAULT BRANCH: main
Ran 10 Apr 2026 11:21AM UTC
Jobs 1
Files 265
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

10 Apr 2026 11:17AM UTC coverage: 64.928% (+0.07%) from 64.856%
24240333167

push

github

web-flow
feat(config, plugin): Add `JsonValue` config type (#532)

Introduces `JsonValue`, a config-aware wrapper around
`serde_json::Value` that participates in schematic's `Config` and merge
systems. Alongside it, `MergeableMap<T>` provides map-level merge
strategies that mirror the existing `MergeableVec` pattern.

All previously untyped freeform fields have been migrated to
`IndexMap<String, JsonValue>`: `ToolConfig.options`,
`CommandPluginConfig.options`, `TemplateConfig.values`, and
`ParametersConfig.other`.

These fields now support dot-path assignment — e.g. `jp config set
plugins.command.serve.options.port 3000` sets a single key without
overwriting sibling keys — and deep-merge across config layers by
default. Explicit merge strategies can be applied with annotation
syntax: `tags = { value = ["extra"], strategy = "append" }`.

Supported map strategies are `deep_merge` (default), `merge`, `keep`,
and `replace`. Arrays within `JsonValue` also gain a `prepend` strategy
alongside the existing `append` and `replace`.

---------

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

245 of 340 new or added lines in 11 files covered. (72.06%)

1 existing line in 1 file now uncovered.

20921 of 32222 relevant lines covered (64.93%)

235.82 hits per line

Uncovered Changes

Lines Coverage ∆ File
44
43.59
crates/jp_config/src/types/map.rs
32
80.95
crates/jp_config/src/types/json_value.rs
11
45.66
-0.35% crates/jp_config/src/conversation/tool.rs
5
76.92
1.92% crates/jp_config/src/template.rs
2
85.33
0.0% crates/jp_llm/src/provider/anthropic.rs
1
93.85
-0.09% crates/jp_config/src/assignment.rs

Coverage Regressions

Lines Coverage ∆ File
1
76.92
1.92% crates/jp_config/src/template.rs
Jobs
ID Job ID Ran Files Coverage
1 24240333167.1 10 Apr 2026 11:21AM UTC 265
64.93
GitHub Action Run
Source Files on build 24240333167
  • Tree
  • List 265
  • Changed 11
  • Source Changed 11
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24240333167
  • 07435a9e on github
  • Prev Build on main (#24202651754)
  • Next Build on main (#24240412528)
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