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

dcdpr / jp / 25076211620
66%

Build:
DEFAULT BRANCH: main
Ran 28 Apr 2026 08:36PM UTC
Jobs 1
Files 292
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 Apr 2026 08:33PM UTC coverage: 64.213% (+0.02%) from 64.197%
25076211620

push

github

web-flow
refactor(config, cli): Rename `user_global_config_path` to `*_dir` (#586)

The function `user_global_config_path` in `jp_config::fs` was
misleadingly named — it returns a directory path, not a file path.
Rename it to `user_global_config_dir` to accurately reflect its purpose,
and rename the associated environment variable from
`JP_GLOBAL_CONFIG_FILE` to `JP_GLOBAL_CONFIG_DIR` for the same reason.

The old function also contained logic to detect whether the env var
pointed to a file (extracting the stem and adjusting the loader), which
was fragile and inconsistent. That logic is removed; callers now receive
a clean directory path and are responsible for appending the appropriate
file name (e.g. `config.toml`).

All call sites in `jp_cli` are updated accordingly, and the RFD 035
document is updated to reference the renamed function.

---------

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

2 of 6 new or added lines in 5 files covered. (33.33%)

23435 of 36496 relevant lines covered (64.21%)

237.7 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
26.32
5.04% crates/jp_cli/src/cmd/config.rs
1
10.08
0.0% crates/jp_cli/src/cmd/plugin/dispatch.rs
1
3.16
0.0% crates/jp_cli/src/lib.rs
Jobs
ID Job ID Ran Files Coverage
1 25076211620.1 28 Apr 2026 08:36PM UTC 292
64.21
GitHub Action Run
Source Files on build 25076211620
  • Tree
  • List 292
  • Changed 5
  • Source Changed 5
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25076211620
  • 9034280e on github
  • Prev Build on main (#25073170659)
  • Next Build on main (#25080314439)
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