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

orneryd / NornicDB / 29590313685
89%
main: 89%

Build:
Build:
LAST BUILD BRANCH: fix/fail-loud-multiclause
DEFAULT BRANCH: main
Ran 17 Jul 2026 03:11PM UTC
Jobs 1
Files 485
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

17 Jul 2026 02:59PM UTC coverage: 89.129%. First build
29590313685

Pull #263

github

Allen Sanabria
fix(cypher): fail loud on unsupported multi-clause query shapes

The string-slicing WITH interpreters (executeMatchWithClause /
executeMatchWithOptionalMatch / executeCompoundMatchOptionalMatch) silently
returned corrupt results for a set of multi-clause read shapes they cannot
evaluate: raw expression text as a column value ("DISTINCT a.name",
"length(path)", "min(length(path))"), a bool/nil where a value was expected,
skipped DISTINCT dedup, or dropped rows. Silent data corruption is the worst
failure mode for a graph DB.

Add unsupportedMultiClauseShape (pkg/cypher/failloud_guard.go), invoked at the
three multi-clause handler entry points, which detects these specific shapes and
returns a clear, actionable error mirroring the existing 'unsupported clause
after CALL {}' contract. Scoped to multi-clause reads only: single-clause
RETURN DISTINCT / min()/max(), working WITH+OPTIONAL/aggregate/collect
projections, and EXPLAIN/PROFILE queries are untouched.

Failing-then-green tests for all 7 symptom shapes (failloud_multiclause_test.go).
Full pkg/cypher suite passes with zero tests flipped. New-code coverage 97.8%
(helpers 100%). Benchmark +0.76% / +8 allocs on the guarded path (under the 5%
budget); guard runs only on cache-miss. -race clean.

Local validation only; not yet proposed upstream.
Pull Request #263: fix(cypher): fail loud on unsupported multi-clause query shapes

174 of 177 new or added lines in 3 files covered. (98.31%)

146550 of 164424 relevant lines covered (89.13%)

1.04 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
98.08
pkg/cypher/failloud_guard.go
Jobs
ID Job ID Ran Files Coverage
1 29590313685.1 17 Jul 2026 03:11PM UTC 485
89.13
GitHub Action Run
Source Files on build 29590313685
  • Tree
  • List 485
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #263
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