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

comunica / traqula / 23667276407
92%
main: 92%

Build:
Build:
LAST BUILD BRANCH: renovate/esbuild-0.x
DEFAULT BRANCH: main
Ran 27 Mar 2026 09:01PM UTC
Jobs 2
Files 112
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

27 Mar 2026 08:18PM UTC coverage: 91.749% (-0.5%) from 92.227%
23667276407

Pull #116

github

jitsedesmet
refactor(cli): replace custom arg parsing with commander, expand test coverage

- Replace cli-utils monolithic index.ts with focused modules:
  io.ts (file I/O), service.ts (JSONL service), prefixes.ts (prefix parsing)
- Remove parseCliArgs / getFlag* helpers from cli-utils public API;
  these are now handled by commander in each engine's bin script
- Add injectable streams parameter to runJsonlService for testability
- Rewrite all three bin scripts (parser, generator, algebra) to use
  commander instead of manual argument parsing; commander provides
  built-in --help generation and cleaner option handling
- Fix bug in parser mergeContext: explicitly setting parseMode:undefined
  overwrites the parser's built-in default Set via spread, producing an
  empty parseMode Set and disabling variable/blank-node parsing for any
  request that carries a per-request context override
- Add comprehensive tests:
  - packages/cli-utils: service mode (valid requests, invalid JSON,
    handler errors, ID propagation, blank lines, non-Error throws)
  - packages/cli-utils: I/O utilities (file read/write, JSON parse)
  - All three engine CLIs: service mode round-trips, error responses,
    batched requests, missing-field validation

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Pull Request #116: Feat: CLI + Service Mode

711 of 754 branches covered (94.3%)

Branch coverage included in aggregate %.

16 of 45 new or added lines in 3 files covered. (35.56%)

4971 of 5439 relevant lines covered (91.4%)

164567.53 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
87.5
packages/cli-utils/lib/service.ts
9
0.0
packages/cli-utils/lib/prefixes.ts
17
0.0
packages/cli-utils/lib/io.ts
Jobs
ID Job ID Ran Files Coverage
1 run-20.x - 23667276407.1 27 Mar 2026 09:01PM UTC 112
91.75
GitHub Action Run
2 run-22.x - 23667276407.2 27 Mar 2026 09:01PM UTC 112
91.75
GitHub Action Run
Source Files on build 23667276407
  • Tree
  • List 112
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #23667276407
  • Pull Request #116
  • PR Base - main (#23577850022)
  • 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