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

dcdpr / jp / 25451297170
66%

Build:
DEFAULT BRANCH: main
Ran 06 May 2026 05:44PM 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 05:40PM UTC coverage: 66.139% (+0.02%) from 66.121%
25451297170

push

github

web-flow
fix(attachment): reject path-absolute hostless URI shortforms (#617)

Both `bear:/NOTE_ID` and `gh:/pull/N/diff` parse as hierarchical
(non-opaque) URLs with no authority — a distinct shape from the truly
opaque shorthands `bear:NOTE_ID` and `gh:pull/N/diff`. Previously the
fallback branch silently accepted them, mapping them to the shortform
despite being undocumented variants.

The fix gates the opaque-shortform branch on `cannot_be_a_base()`, which
is only true for truly opaque URLs. Path-absolute hostless forms now
fall through to the error arm with an explicit message. Tests are added
for both handlers to pin the rejection.

Also removes the unscoped `git config --get user.name` fallback in
`detect_default_user_name()` (`jp init`): the unscoped lookup resolves
against whichever repo is in cwd, leaking a repo-local identity the user
explicitly chose not to make global into every future JP workspace. Only
the `--global` form and `$USER`/`$USERNAME` are retained.

The internal `web/fetch` HTML parser gains support for the
`<dt><dt><dd>` shared-definition group shape, where several terms share
one `<dd>`. Fetching any term in the group now returns the whole group,
and the `list_sections` summary and `web_fetch.toml` descriptions are
updated to reflect that definition-list terms are surfaced alongside
headings.

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

26 of 32 new or added lines in 4 files covered. (81.25%)

2 existing lines in 1 file now uncovered.

25603 of 38711 relevant lines covered (66.14%)

224.07 hits per line

Uncovered Changes

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

Coverage Regressions

Lines Coverage ∆ File
2
0.0
0.0% crates/jp_cli/src/cmd/init.rs
Jobs
ID Job ID Ran Files Coverage
1 25451297170.1 06 May 2026 05:44PM UTC 299
66.14
GitHub Action Run
Source Files on build 25451297170
  • 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 #25451297170
  • 647e92d4 on github
  • Prev Build on main (#25442720419)
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