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

tamada / fauxrest / 30344571248
82%
main: 86%

Build:
Build:
LAST BUILD BRANCH: ci/force_fmt_in_CI
DEFAULT BRANCH: main
Ran 28 Jul 2026 09:01AM UTC
Jobs 1
Files 9
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

28 Jul 2026 05:55AM UTC coverage: 82.117% (+3.4%) from 78.7%
30344571248

push

github

tamada
feat: add $derive.type to convert derived values to non-string types

A $derive.pattern extracts a regular expression capture, so its result was
always a string. Since $filter compares strictly by type, such a value could
never match a numeric or boolean field: "2024" does not equal 2024, and the
ordering operators require both sides to be numbers. Configurations had to
carry a shadow string field and fall back to `contains` to work around it.

$derive now accepts an optional `type` (string, int, float, bool, auto) that
converts the extracted value. The conversion runs before deduplication, so
values of different kinds no longer collide into duplicate path segments, and
$filter substitution already preserves the JSON type of an exact `{var}`
token, so filter.rs needs no change.

Omitting `type` performs no conversion and keeps the pre-0.0.4 behavior.
Values that fail to convert are skipped and reported with the existing
non-derivable warning rather than aborting the build.

`auto` is deliberately conservative: it converts only booleans and integers
that round-trip losslessly, so identifier-like strings such as "007" keep
their leading zeros in the generated path.

Co-Authored-By: Claude <noreply@anthropic.com>

49 of 60 new or added lines in 2 files covered. (81.67%)

1 existing line in 1 file now uncovered.

1148 of 1398 relevant lines covered (82.12%)

14.52 hits per line

Uncovered Changes

Lines Coverage ∆ File
10
83.82
0.82% src/orchestrator.rs
1
85.29
1.4% src/config.rs

Coverage Regressions

Lines Coverage ∆ File
1
85.29
1.4% src/config.rs
Jobs
ID Job ID Ran Files Coverage
1 30344571248.1 28 Jul 2026 09:01AM UTC 9
82.12
GitHub Action Run
Source Files on build 30344571248
  • Tree
  • List 9
  • Changed 4
  • Source Changed 2
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30344571248
  • 82ebd901 on github
  • Prev Build on releases/v0.0.3 (#30343888744)
  • Delete
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