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

dcdpr / jp / 25260030712
66%

Build:
DEFAULT BRANCH: main
Ran 02 May 2026 07:35PM UTC
Jobs 1
Files 296
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

02 May 2026 07:31PM UTC coverage: 64.412% (-0.3%) from 64.699%
25260030712

push

github

web-flow
chore: Add GitHub PR review workflow (#594)

Introduces an end-to-end AI-assisted pull request review workflow,
spanning a new `jp_attachment_github` crate, extensions to `jp_github`,
new project tooling, and a dedicated `pr-reviewer` persona.

**New `jp_attachment_github` crate**

Adds a `gh://` URI attachment handler with two resource types:

- `gh:pull/N/diff` — fetches a PR's title, description, and unified diff
as a single text attachment. The diff is filtered through a configurable
exclusion list (snapshots, lockfiles, minified JS, …) so generated noise
is kept out of the LLM context. Override via `?exclude=glob1,glob2` or
disable the defaults with `?no_defaults=true`.

- `gh:pull/N/reviews` — fetches all reviews and inline comments on a PR,
rendered as structured Markdown grouped by file and anchor line. Pending
(draft) reviews and comments are attributed to "you" rather than
exposing the reviewer's login.

Both resource types accept a shortform (`gh:pull/N/diff`) that is
project-rooted to `dcdpr/jp`, or a canonical form
(`gh://owner/repo/pull/N/diff`) for any repository.

**`jp_github` extensions**

Added new models (`Side`, `ReviewState`, `Review`, `DraftReviewComment`,
`GitRef`) and new `PullsHandler` methods:

- `list_reviews` — lists all reviews on a PR.
- `create_review` — builder API that creates a draft (`PENDING`) review.
- `delete_review` — deletes a pending review.
- `add_review_thread` — appends a single inline comment to an existing
pending review via the GraphQL `addPullRequestReviewThread` mutation,
since the REST API does not support appending to an existing draft.

`PullRequest` gains `node_id`, `head`, and `base` fields required for
fetching file content at the correct SHA.

**`github_pr_review_add_comment` tool**

A new project tool that queues one inline comment at a time to the
authenticated user's pending review. Before each comment is posted, the
tool renders a syntax-highlighted snippet from the PR's HEAD file plus
the p... (continued)

539 of 1036 new or added lines in 8 files covered. (52.03%)

2 existing lines in 1 file now uncovered.

24568 of 38142 relevant lines covered (64.41%)

194.82 hits per line

Uncovered Changes

Lines Coverage ∆ File
179
14.35
.config/jp/tools/src/github/review.rs
129
67.51
crates/jp_attachment_github/src/lib.rs
79
0.0
0.0% .config/jp/tools/src/github/repo.rs
47
67.22
-15.39% crates/jp_github/src/client.rs
26
84.09
6.62% crates/jp_github/src/handlers.rs
20
0.0
0.0% .config/jp/tools/src/github.rs
17
77.42
-17.03% .config/jp/tools/src/util.rs

Coverage Regressions

Lines Coverage ∆ File
2
0.0
0.0% .config/jp/tools/src/github/repo.rs
Jobs
ID Job ID Ran Files Coverage
1 25260030712.1 02 May 2026 07:35PM UTC 296
64.41
GitHub Action Run
Source Files on build 25260030712
  • Tree
  • List 296
  • Changed 10
  • Source Changed 9
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25260030712
  • 02bb4f63 on github
  • Prev Build on main (#25259849910)
  • Next Build on main (#25387974517)
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