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

dgraph-io / dgraph / 5961268406
66%

Build:
DEFAULT BRANCH: main
Ran 24 Aug 2023 09:13AM UTC
Jobs 1
Files 250
Run time 4s
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

24 Aug 2023 08:21AM UTC coverage: 66.76% (-0.3%) from 67.079%
5961268406

push

web-flow
feat(debug): add parse_key to debug tool (#7640)

This adds a `dgraph debug --parse_key` flag that can return the ParsedKey
struct of a hex key. This is useful if there's a lone key that you want parse
without having to have a p directory around. This flag does not need a p
directory, just the hex key string.

Example:

$ dgraph debug --parse_key
<a class=hub.com/dgraph-io/dgraph/commit/000000000000000000000b6467726170682e7479">0000000007065000000000000000001
     {d} Key: UID: 1, Attr: 0-dgraph.type, Data key

This tells you that the key
000000000000000000000b6467726170682e74797065000000000000000001
is for the predicate `0-dgraph.type` and the UID `1`.

Docs PR: https://github.com/dgraph-io/dgraph-docs/pull/636

Co-authored-by: Aman Mangal <aman@dgraph.io>

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

58199 of 87176 relevant lines covered (66.76%)

2220636.94 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
27
4.34
-0.03% dgraph/cmd/debug/run.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
83.94
-0.52% conn/raft_server.go
2
84.92
-1.01% dgraph/cmd/zero/assign.go
2
55.56
-0.48% worker/online_restore.go
4
84.81
-0.19% conn/node.go
5
81.82
-2.16% conn/pool.go
11
81.13
-0.59% worker/task.go
25
82.99
-4.25% worker/sort.go
339
42.4
-1.17% protos/pb/pb.pb.go
Jobs
ID Job ID Ran Files Coverage
1 5961268406.1 24 Aug 2023 09:13AM UTC 250
66.76
Source Files on build 5961268406
  • Tree
  • List 250
  • Changed 163
  • Source Changed 0
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 666cf04b on github
  • Prev Build on main (#5942198167)
  • Next Build on main (#5972342209)
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

© 2025 Coveralls, Inc