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

orneryd / NornicDB / 37215698885
89%

Build:
DEFAULT BRANCH: main
Ran 04 Oct 2026 04:23PM UTC
Jobs 1
Files 683
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

04 Oct 2026 04:09PM UTC coverage: 86.956% (+0.07%) from 86.884%
37215698885

push

github

orneryd
fix(cypher): label expressions in patterns, predicates and subqueries (#860)

Label expressions (n:A|B, n:A&B, n:!A, n:%, groups, n IS A) matched
nothing in node and relationship patterns, WHERE, RETURN, pattern
predicates, comprehensions and subquery bodies; n:% in WHERE failed and
MERGE (n:A|B) created a node labelled "A|B".

desugarLabelExpressions rewrites a statement once, before routing, into
the forms every route evaluates: conjunctions of names stay in the node
pattern, disjunctions of types in the relationship pattern, and any
other expression becomes a WHERE predicate on the element (anonymous
elements get a generated variable that * projections don't list). The
rejected forms are Neo4j's SyntaxErrors through localization. WHERE
label tests, CASE and path predicates evaluate label expressions; the
keyword scanner and operand check read % after a colon as the label
wildcard; the comprehension splitter skips a colon test's |. The UNWIND
MATCH MERGE batch path reads the rewritten lookup, CREATE / MERGE keep
their single-type validation (with Neo4j's message for alternatives),
and a query whose labels can widen (!, %, groups) is invalidated by any
write in the result cache.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

1164 of 1164 new or added lines in 15 files covered. (100.0%)

38 existing lines in 11 files now uncovered.

180342 of 207395 relevant lines covered (86.96%)

1.02 hits per line

Coverage Regressions

Lines Coverage ∆ File
8
92.42
-2.98% pkg/cypher/merge_semantic_validation.go
6
92.71
-1.63% pkg/cypher/create_semantic_validation.go
6
89.59
-0.48% pkg/nornicdb/db_admin.go
4
85.71
-2.6% pkg/fabric/remote_executor.go
3
85.84
-0.1% pkg/cypher/call.go
3
88.34
-1.35% pkg/storage/badger_schema.go
2
95.51
-0.6% pkg/cypher/pipeline_row_stream.go
2
83.06
-0.65% pkg/fabric/result.go
2
89.47
-3.51% pkg/nornicdb/auto_embed_inference.go
1
83.56
0.59% pkg/cypher/match_rows.go
1
86.36
-0.08% pkg/nornicdb/embed_queue.go
Jobs
ID Job ID Ran Files Coverage
1 37215698885.1 04 Oct 2026 04:23PM UTC 683
86.96
GitHub Action Run
Source Files on build 37215698885
  • Tree
  • List 683
  • Changed 29
  • Source Changed 0
  • Coverage Changed 29
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 31266b00 on github
  • Prev Build on main (#37215434766)
  • Next Build on main (#37216027258)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc