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

dcdpr / jp / 25437138375
66%

Build:
DEFAULT BRANCH: main
Ran 06 May 2026 01:22PM UTC
Jobs 1
Files 299
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

06 May 2026 01:07PM UTC coverage: 66.045% (-0.001%) from 66.046%
25437138375

push

github

web-flow
fix(cli, init): Prefer global git identity for name default (#606)

`detect_default_user_name` previously ran `git config --get user.name`
without a scope flag, meaning a repo-local override could be picked up
and written into the user-global JP config, where it would then be
inherited by every future workspace — leaking an unrelated identity.

The cascade now tries `git config --global --get user.name` first, then
falls back to the unscoped lookup for users who only have a repo-local
identity, and finally falls through to the `$USER`/`$USERNAME`
environment variable as before.

The name prompt also switches from `with_default()` to
`with_initial_value()`, so the detected name is pre-filled and editable
rather than silently substituted on empty submission. This lets users
clear the field and submit empty to skip attribution, which the previous
behaviour made impossible without typing a space first.

---------

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

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

48 existing lines in 3 files now uncovered.

25519 of 38639 relevant lines covered (66.04%)

238.46 hits per line

Uncovered Changes

Lines Coverage ∆ File
14
0.0
0.0% crates/jp_cli/src/cmd/init.rs

Coverage Regressions

Lines Coverage ∆ File
39
65.55
0.14% crates/jp_cli/src/cmd/query/turn_loop.rs
8
30.69
0.69% crates/jp_attachment_bear_note/src/lib.rs
1
0.0
0.0% crates/jp_cli/src/cmd/init.rs
Jobs
ID Job ID Ran Files Coverage
1 25437138375.1 06 May 2026 01:22PM UTC 299
66.04
GitHub Action Run
Source Files on build 25437138375
  • Tree
  • List 299
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25437138375
  • 92cbdb4f on github
  • Prev Build on main (#25437098708)
  • Next Build on main (#25439013691)
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