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

AfterShip / clickhouse-sql-parser / 27258883323
52%

Build:
DEFAULT BRANCH: master
Ran 10 Jun 2026 06:56AM UTC
Jobs 1
Files 15
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

10 Jun 2026 06:55AM UTC coverage: 51.826% (+0.04%) from 51.79%
27258883323

push

github

web-flow
Fix index-out-of-range panic in wrapError at EOF (#272)

`wrapError` walks `p.lexer.input[i]` for `i < int(p.Pos())` to compute the
error line/column. At EOF `p.Pos()` can exceed `len(input)`, so on input like
`CREATE--` (a trailing comment leaves the position past the end) it panics
with "index out of range".

Clamp the loop bound to `len(p.lexer.input)`.

Add `CREATE--` to TestParser_InvalidSyntax to reproduce: it panicked before
the fix and now returns a proper error.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>

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

8300 of 16015 relevant lines covered (51.83%)

3013.37 hits per line

Jobs
ID Job ID Ran Files Coverage
1 27258883323.1 10 Jun 2026 06:56AM UTC 15
51.83
GitHub Action Run
Source Files on build 27258883323
  • Tree
  • List 15
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 5df9a6cb on github
  • Prev Build on master (#27258626839)
  • 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