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

comunica / comunica-feature-mcp / 33518765817
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: feature/cluster
DEFAULT BRANCH: master
Ran 01 Sep 2026 02:22PM UTC
Jobs 3
Files 2
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

01 Sep 2026 02:18PM UTC coverage: 100.0%. Remained the same
33518765817

Pull #5

github

claude
Make worker replacement non-disruptive, and report query metadata

Follow-up on the worker pool, based on experiments against public SPARQL
endpoints, Linked Data documents and TPF interfaces with a real MCP client.

Workers were replaced after every query timeout, which closed the keep-alive
connections of the clients that were talking to that worker. Since a timeout
is exactly what an agent triggers by forgetting a LIMIT, this broke sessions
in the most common failure case. Workers are now only replaced when they are
measurably still busy a few seconds after the timeout, which is when Comunica
is actually still running the abandoned query. Timeouts on slow sources leave
nothing behind, and no longer disturb anyone.

Workers that were disconnected for replacement outlived the primary process
that was supposed to kill them, and kept running their query forever as an
orphaned process at full CPU. Workers now terminate themselves once their
connection to the primary process is gone.

Queries now also report metadata alongside their results:

  Query metadata: {"resultType":"bindings","results":3,"empty":false,
  "elapsedMs":412,"sources":["https://dbpedia.org/sparql"]}

Agents could not tell an empty result apart from a failed query, nor see
which sources answered, nor that federated results can be incomplete when
one source is unavailable. Sources that carry their data inline are only
described by their type, so that datasets are never echoed back.

Furthermore:
* The sources parameter advertised a 'hypermedia@' annotation that no engine
  accepts, so agents were told to use a prefix that always fails. It now
  documents the annotations that exist ('sparql@', 'qpf@' and 'file@'), and
  engines that read local files describe that themselves.
* Failing to bind the port no longer only reports repeated worker deaths,
  but also names the likely cause.
* The streaming preamble is gone, and streamed chunks are chained instead of
  collected, so that memory n... (continued)
Pull Request #5: Make worker replacement non-disruptive, and report query metadata

130 of 130 branches covered (100.0%)

Branch coverage included in aggregate %.

51 of 51 new or added lines in 2 files covered. (100.0%)

257 of 257 relevant lines covered (100.0%)

123.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-22.x - 33518765817.1 01 Sep 2026 02:22PM UTC 2
100.0
GitHub Action Run
2 run-26.x - 33518765817.2 01 Sep 2026 02:22PM UTC 2
100.0
GitHub Action Run
3 run-24.x - 33518765817.3 01 Sep 2026 02:22PM UTC 2
100.0
GitHub Action Run
Source Files on build 33518765817
  • Tree
  • List 2
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Pull Request #5
  • PR Base - master (#33510571666)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc