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

comunica / traqula / 27193028308 / 8
100%
main: 100%

Build:
DEFAULT BRANCH: main
Ran 09 Jun 2026 08:20AM UTC
Files 127
Run time 6s
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

09 Jun 2026 08:13AM UTC coverage: 100.0%. First build
27193028308.8

push

github

web-flow
Test: code point escape (#145)

* fix: address lint errors in sparqlCodepointEscape

- Use codePointAt() instead of charCodeAt() per unicorn/prefer-code-point
- Move inline comments to separate lines per line-comment-position rule
- Shorten long test line per max-len rule
- Add unterminated short-string test to maintain 100% branch coverage

Note: The 5 failing W3C live tests (codepoint-esc-01/02/06/07/08) are
old positive tests that PR #346 explicitly removes from the manifest.
Implementing PR #346's restriction on codepoint escape placement is
inherently incompatible with those old tests; they will be dropped when
the PR is merged.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* revert codepoint escape

* feat: restrict UCHAR codepoint escapes to strings and IRIs in SPARQL 1.2

Per W3C PR #383/#384, UCHAR escapes (\uXXXX / \UXXXXXXXX) are no
longer processed by a global query pre-processor. Instead they are
handled at the grammar level, inside string literal and IRI reference
tokens only.

Changes:
- Add UCHAR-aware lexer tokens (iriRef, stringLiteral1/2, long1/2)
  to sparql12LexerBuilder that replace the 1.1 variants
- Add codepointEscape() to SparqlContext; default implementation
  (sparql12CodepointEscape) rejects all surrogate code points
  (U+D800–U+DFFF), including surrogate pairs
- Override string grammar rule with two-pass decode: UCHAR first, then
  ECHAR; this correctly rejects \\u0041 (two backslashes → \A →
  invalid ECHAR) as required by codepoint-esc-bad-03
- Override iriFull grammar rule to apply codepointEscape to IRI content
- Remove queryPreProcessor from Parser.ts; patch string and iriFull rules
- Add lexResult.errors check in parserBuilder so queries with bare
  backslashes outside strings/IRIs throw rather than silently recover
- Fix comment token pattern (no required trailing newline) so queries
  ending with a comment but no newline are accepted
- Skip 5 dawgt:Proposed W3C tests that encode pre-PR-#38... (continued)

758 of 758 branches covered (100.0%)

Branch coverage included in aggregate %.

5467 of 5467 relevant lines covered (100.0%)

31453.26 hits per line

Source Files on job run-22.x-ubuntu-latest - 27193028308.8
  • Tree
  • List 127
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 27193028308
  • 4bddbd6c on github
  • Next Job for on main (#27193654868.8)
  • 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