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

comunica / traqula / 27193028308
100%

Build:
DEFAULT BRANCH: main
Ran 09 Jun 2026 08:15AM UTC
Jobs 9
Files 127
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

09 Jun 2026 08:13AM UTC coverage: 100.0%. Remained the same
27193028308

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 %.

63 of 63 new or added lines in 6 files covered. (100.0%)

5467 of 5467 relevant lines covered (100.0%)

283079.3 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-20.x-ubuntu-latest - 27193028308.1 09 Jun 2026 08:15AM UTC 127
100.0
GitHub Action Run
2 run-22.x-windows-latest - 27193028308.2 09 Jun 2026 08:17AM UTC 127
100.0
GitHub Action Run
3 run-24.x-macos-latest - 27193028308.3 09 Jun 2026 08:15AM UTC 127
100.0
GitHub Action Run
4 run-20.x-macos-latest - 27193028308.4 09 Jun 2026 08:20AM UTC 127
100.0
GitHub Action Run
5 run-24.x-windows-latest - 27193028308.5 09 Jun 2026 08:17AM UTC 127
100.0
GitHub Action Run
6 run-24.x-ubuntu-latest - 27193028308.6 09 Jun 2026 08:15AM UTC 127
100.0
GitHub Action Run
7 run-20.x-windows-latest - 27193028308.7 09 Jun 2026 08:18AM UTC 127
100.0
GitHub Action Run
8 run-22.x-ubuntu-latest - 27193028308.8 09 Jun 2026 08:15AM UTC 127
100.0
GitHub Action Run
9 run-22.x-macos-latest - 27193028308.9 09 Jun 2026 08:18AM UTC 127
100.0
GitHub Action Run
Source Files on build 27193028308
  • 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 Repo
  • Github Actions Build #27193028308
  • 4bddbd6c on github
  • Prev Build on main (#27016983919)
  • Next Build on main (#27193654868)
  • 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