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

dcdpr / jp / 24270450251
67%

Build:
DEFAULT BRANCH: main
Ran 11 Apr 2026 12:46AM UTC
Jobs 1
Files 267
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

11 Apr 2026 12:36AM UTC coverage: 65.198% (+0.08%) from 65.12%
24270450251

push

github

web-flow
feat(config): Add `dedup` option to `MergedVec` (#537)

A new `dedup` field on `MergedVec<T>` removes duplicate items after
merging, using order-preserving dedup.

The flag accepts `true`, `false`, or `"inherit"`. Omitting the field (or
using `"inherit"`) means "no opinion" — the flag propagates from the
previous merge in the chain. Once any config in the chain enables it,
all subsequent merges deduplicate unless a later config explicitly sets
it to `false`.

`conversation.attachments` now defaults to `dedup = true`, preventing
the same attachment from appearing more than once when multiple config
layers are merged. To opt out:

    [conversation.attachments]
    dedup = false

Several related fixes are also included: `FillDefaults` now propagates
correctly for `system_prompt_sections`, `instructions`, `attachments`,
and `PartialReasoningConfig`; `is_empty()` on `MergeableVec` and
`MergeableMap` now accounts for metadata so a `Merged` with no items but
active flags is no longer treated as empty; and `vec_dedup` is now
order-preserving instead of sorting before deduplicating.

---------

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

104 of 135 new or added lines in 10 files covered. (77.04%)

21404 of 32829 relevant lines covered (65.2%)

250.16 hits per line

Uncovered Changes

Lines Coverage ∆ File
16
63.89
3.25% crates/jp_config/src/types/vec.rs
11
66.44
-5.3% crates/jp_config/src/model/parameters.rs
3
95.71
-4.29% crates/jp_config/src/internal/merge/vec.rs
1
0.0
0.0% crates/jp_cli/src/cmd/attachment/rm.rs
Jobs
ID Job ID Ran Files Coverage
1 24270450251.1 11 Apr 2026 12:46AM UTC 267
65.2
GitHub Action Run
Source Files on build 24270450251
  • Tree
  • List 267
  • Changed 11
  • Source Changed 11
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24270450251
  • d15e902c on github
  • Prev Build on main (#24270387043)
  • Next Build on main (#24280624585)
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