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

lsm / neokai / 28216386435
82%

Build:
DEFAULT BRANCH: dev
Ran 26 Jun 2026 04:05AM UTC
Jobs 28
Files 617
Run time 2min
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

26 Jun 2026 04:04AM UTC coverage: 81.975% (+0.02%) from 81.959%
28216386435

push

github

web-flow
feat(github): capture reply/resolve handles in the event normalizer (#2192)

* feat(github): capture reply/resolve handles in the event normalizer

Add `commentId` (REST numeric comment id) and `nodeId` (GraphQL node_id of
the comment/review/PR) to NormalizedGitHubEvent, extracted across every
normalizer branch (webhook issue_comment / pull_request_review /
pull_request_review_comment / pull_request, polling issue_comments /
review_comments / pulls, and check_run / reaction defaults).

These are the handles an agent needs to reply to and resolve a comment,
verified against the official GitHub REST + GraphQL reference:
- commentId is what `POST .../pulls/{n}/comments/{comment_id}/replies`
  (and the `in_reply_to` body param) needs.
- The review-THREAD node id required by `resolveReviewThread`
  (`ResolveReviewThreadInput.threadId`) is intentionally NOT captured: a
  comment's node_id is not its thread's node id, and GitHub does not include
  the thread node id in webhook/REST payloads — it must be resolved at
  runtime via the PR's `reviewThreads` connection.

Additive only: fields are captured and propagated to the ExternalEvent
payload; no behavior change. The companion formatter task (A) consumes them.

* fix(github): capture ROOT review comment id for the reply handle

The REST reply endpoint POST .../comments/{comment_id}/replies requires a
top-level review comment id, not a reply's own id (GitHub docs: "This must
be the ID of a top-level review comment, not a reply to that comment.").
Review threads are flat, so a reply's in_reply_to_id points at the thread
root. Resolve commentId to the root via in_reply_to_id for both the webhook
pull_request_review_comment branch and the polling review_comments path;
issue comments stay on their own id (issue comments are not threaded).
nodeId is unchanged (it intentionally references the triggering comment).

Adds focused tests: a reply review comment (webhook + polling) yields the
ROOT comment id, not the reply id.

11396 of 16422 branches covered (69.39%)

Branch coverage included in aggregate %.

30 of 30 new or added lines in 1 file covered. (100.0%)

23 existing lines in 1 file now uncovered.

96097 of 114707 relevant lines covered (83.78%)

299.31 hits per line

Coverage Regressions

Lines Coverage ∆ File
23
97.54
-2.18% packages/daemon/src/lib/agent/query-runner.ts
Jobs
ID Job ID Ran Files Coverage
1 daemon-4-space-migrations-a - 28216386435.1 26 Jun 2026 04:06AM UTC 74
36.91
GitHub Action Run
2 daemon-5-space-runtime-a - 28216386435.2 26 Jun 2026 04:06AM UTC 130
38.71
GitHub Action Run
3 daemon-4-space-storage - 28216386435.3 26 Jun 2026 04:06AM UTC 160
53.69
GitHub Action Run
4 daemon-1-core - 28216386435.4 26 Jun 2026 04:06AM UTC 365
34.91
GitHub Action Run
5 daemon-online-agent-sdk - 28216386435.5 26 Jun 2026 04:06AM UTC 359
21.68
GitHub Action Run
6 daemon-online-lifecycle - 28216386435.6 26 Jun 2026 04:06AM UTC 359
21.97
GitHub Action Run
7 daemon-online-features-1 - 28216386435.7 26 Jun 2026 04:06AM UTC 359
22.37
GitHub Action Run
8 daemon-online-websocket - 28216386435.8 26 Jun 2026 04:05AM UTC 359
17.56
GitHub Action Run
9 daemon-5-space-agent-other - 28216386435.9 26 Jun 2026 04:06AM UTC 286
25.85
GitHub Action Run
10 daemon-0-shared-handlers-workflow - 28216386435.10 26 Jun 2026 04:06AM UTC 364
32.42
GitHub Action Run
11 daemon-online-rpc-1 - 28216386435.11 26 Jun 2026 04:06AM UTC 359
18.56
GitHub Action Run
12 daemon-online-rewind-2 - 28216386435.12 26 Jun 2026 04:07AM UTC 359
22.27
GitHub Action Run
13 daemon-online-convo - 28216386435.13 26 Jun 2026 04:07AM UTC 359
21.59
GitHub Action Run
14 daemon-4-space-migrations-b - 28216386435.14 26 Jun 2026 04:07AM UTC 48
56.03
GitHub Action Run
15 daemon-online-mcp - 28216386435.15 26 Jun 2026 04:05AM UTC 359
17.78
GitHub Action Run
16 daemon-5-space-runtime-b - 28216386435.16 26 Jun 2026 04:06AM UTC 184
46.98
GitHub Action Run
17 daemon-online-rpc-4 - 28216386435.17 26 Jun 2026 04:07AM UTC 359
22.39
GitHub Action Run
18 daemon-online-rpc-3 - 28216386435.18 26 Jun 2026 04:07AM UTC 359
18.89
GitHub Action Run
19 daemon-online-components - 28216386435.19 26 Jun 2026 04:06AM UTC 359
17.47
GitHub Action Run
20 web - 28216386435.20 26 Jun 2026 04:07AM UTC 248
74.6
GitHub Action Run
21 daemon-online-space-1 - 28216386435.21 26 Jun 2026 04:07AM UTC 359
31.22
GitHub Action Run
22 daemon-online-git - 28216386435.22 26 Jun 2026 04:06AM UTC 359
18.3
GitHub Action Run
23 daemon-online-space-2 - 28216386435.23 26 Jun 2026 04:07AM UTC 359
31.26
GitHub Action Run
24 daemon-online-sdk - 28216386435.24 26 Jun 2026 04:06AM UTC 359
21.69
GitHub Action Run
25 daemon-online-features-2 - 28216386435.25 26 Jun 2026 04:06AM UTC 359
21.82
GitHub Action Run
26 daemon-online-rewind-1 - 28216386435.26 26 Jun 2026 04:07AM UTC 359
21.81
GitHub Action Run
27 daemon-online-coordinator - 28216386435.27 26 Jun 2026 04:05AM UTC 348
7.78
GitHub Action Run
28 daemon-online-rpc-2 - 28216386435.28 26 Jun 2026 04:06AM UTC 359
22.71
GitHub Action Run
Source Files on build 28216386435
  • Tree
  • List 617
  • Changed 9
  • Source Changed 1
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #28216386435
  • f34d4785 on github
  • Prev Build on dev (#28215180670)
  • Next Build on dev (#28217507108)
  • Delete
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