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

api-platform / core / 28639093384
12%
master: 37%

Build:
Build:
LAST BUILD BRANCH: 4.3
DEFAULT BRANCH: master
Ran 03 Jul 2026 04:49AM UTC
Jobs 3
Files 1562
Run time 3min
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

03 Jul 2026 04:48AM UTC coverage: 27.619% (-1.8%) from 29.444%
28639093384

push

github

web-flow
fix(mcp): make tools/list resilient to an empty registry (#8371)

* fix(mcp): make tools/list resilient to an empty registry

tools/list reads from the SDK registry, which is populated once, when
mcp.server is built. Under a persistent runtime (e.g. FrankenPHP worker
mode) that single build can capture an empty registry and stay empty for
the whole process, so tools/list returns [] while tools/call keeps
working through the request-time Handler.

Add a ListHandler (tagged mcp.request_handler, so it precedes the SDK's
registry-backed list handlers) that loads API Platform elements into the
registry on first use and reads back through the shared registry, so
runtime registrations and registry decorators are preserved.

Refs #8370

* Apply suggestions from code review

Co-authored-by: Antoine Bluchet <soyuka@users.noreply.github.com>

6 of 72 new or added lines in 3 files covered. (8.33%)

18279 of 66182 relevant lines covered (27.62%)

119.77 hits per line

Uncovered Changes

Lines Coverage ∆ File
55
0.0
src/Mcp/Tests/Server/ListHandlerTest.php
11
0.0
src/Mcp/Server/ListHandler.php
Jobs
ID Job ID Ran Files Coverage
1 28639093384.1 03 Jul 2026 04:49AM UTC 1562
12.43
GitHub Action Run
2 28639093384.2 03 Jul 2026 04:56AM UTC 1562
27.21
GitHub Action Run
3 28639093384.3 03 Jul 2026 04:57AM UTC 1562
26.8
GitHub Action Run
Source Files on build 28639093384
  • Tree
  • List 1562
  • Changed 49
  • Source Changed 0
  • Coverage Changed 49
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • f9d3706b on github
  • Prev Build on 4.3 (#28585317344)
  • Next Build on 4.3 (#28640994147)
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