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

comunica / traqula / 27265892727
100%
main: 100%

Build:
Build:
LAST BUILD BRANCH: renovate/node-24.x
DEFAULT BRANCH: main
Ran 10 Jun 2026 09:13AM 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

10 Jun 2026 11:04AM UTC coverage: 100.0%. Remained the same
27265892727

push

github

jitsedesmet
test: add regression tests for prototype-key prefix bypass

Tests that fail on main (before the fix) and pass on this branch:

Parser (engines/parser-sparql-1-1/test/extraCoverage.test.ts):
- Prefixes named 'constructor', 'toString', 'hasOwnProperty', 'valueOf'
  must be rejected with 'Unknown prefix' when undeclared. On main these
  slip through because `{}`['constructor'] resolves via the prototype
  chain and is not `undefined`.
- A declared prefix with a prototype-key name must be accepted (positive case).

Algebra (engines/algebra-sparql-1-1/test/extraCoverage.test.ts):
- toAlgebra must throw 'Unknown prefix: constructor' when the prefix is
  undeclared, not silently produce a garbage IRI by coercing the Object
  constructor function to a string.
- A prototype-key prefix declared in the query string expands correctly.
- A prototype-key prefix passed via the config object expands correctly.

Note: '__proto__' is not a valid SPARQL PN_PREFIX token (starts with '_')
so the lexer already rejects it; no separate test needed.

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

758 of 758 branches covered (100.0%)

Branch coverage included in aggregate %.

5467 of 5467 relevant lines covered (100.0%)

283092.85 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-22.x-macos-latest - 27265892727.1 10 Jun 2026 09:13AM UTC 127
100.0
GitHub Action Run
2 run-20.x-macos-latest - 27265892727.2 10 Jun 2026 09:16AM UTC 127
100.0
GitHub Action Run
3 run-22.x-ubuntu-latest - 27265892727.3 10 Jun 2026 09:13AM UTC 127
100.0
GitHub Action Run
4 run-24.x-windows-latest - 27265892727.4 10 Jun 2026 09:15AM UTC 127
100.0
GitHub Action Run
5 run-24.x-macos-latest - 27265892727.5 10 Jun 2026 09:14AM UTC 127
100.0
GitHub Action Run
6 run-22.x-windows-latest - 27265892727.6 10 Jun 2026 09:14AM UTC 127
100.0
GitHub Action Run
7 run-24.x-ubuntu-latest - 27265892727.7 10 Jun 2026 09:13AM UTC 127
100.0
GitHub Action Run
8 run-20.x-windows-latest - 27265892727.8 10 Jun 2026 09:15AM UTC 127
100.0
GitHub Action Run
9 run-20.x-ubuntu-latest - 27265892727.9 10 Jun 2026 09:13AM UTC 127
100.0
GitHub Action Run
Source Files on build 27265892727
  • Tree
  • List 127
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #27265892727
  • 6e847503 on github
  • Prev Build on fix/reserved-key (#27265210433)
  • Next Build on fix/reserved-key (#27266335948)
  • 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