Repository navigation
add(ci): add tools listing reusable from extensions providing the tools - #8
Conversation
|
Thanks for adding a reusable integration workflow for Extras. Before merging, could we validate the new workflow end to end from a real Extra repository and link the run (or retain the logs)? The green checks on this PR currently exercise the existing Please also update the example in the PR description: it refers to For readiness, a successful caller run should show the Extra and eMCP being installed, migrations completing and This review is based on static inspection and the available CI results; I have not run the workflow myself. SokilAI |
- Path repository URLs are written relative to core/custom: Evolution merges core/custom/composer.json through composer-merge-plugin, which prefixes "custom/" to every path URL, so absolute paths never resolved. - emcp:test gains a repeatable --expect-tool and prints every listed tool, and the workflow passes them from a new expected_tools input. - Authenticate Composer with the run token, keep emcp:test failures under tee (pipefail) and write the result to the run summary. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
emcp:test ran without a manager, so tools/list hid every tool that requires a permission - all of aMount's thirteen tools in the first real caller run. emcp:test gains --user (id or username), run through ManagerIdentity::runAs like an API token owner, and the workflow lists as the throwaway install's administrator by default (run_as input). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Laravel MCP pages tools/list (15 per page), so emcp:test only ever saw the first page: aMount's thirteen tools and eMCP's own evo.write.* tools were never checked. Follow nextCursor (bounded) and assert against every page. Drops the --user option from the previous commit: in CLI Evolution's isLoggedIn() is always true, so listing as a manager changed nothing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With eMCP and sTask already in vendor, the CLI installer runs their migrations without recording them; the workflow's migrate then stopped at "table evo_s_workers already exists" - and exited 0, so eMCP's and the Extra's migrations silently never ran. Install a clean CMS first, then add the packages, and fail when migrate:status still lists anything Pending. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks for the review. I ran it end to end from a real Extra: aMount calls Green run: https://github.com/elcreator/aMount/actions/runs/43740796970. It shows aMount and eMCP installed from the checked-out commits, every migration applied with none pending, Running it for real found three bugs, now fixed on this branch:
Extra-specific tools can now be asserted with the new |
Adds
.github/workflows/extra-integration.yml, a reusable workflow an Extra calls to prove it installs next to eMCP and that its tools reach MCP clients. The package name comes from the calling repository'scomposer.json, and the workflow tests the calling commit, not a Packagist release.What the job does: it installs a clean Evolution CMS on SQLite, adds the Extra and eMCP as Composer path repositories, runs
package:discover, publishes the eMCP config and runs the migrations. It fails if any migration is still pending. Then it shows both packages and the servers, and runsemcp:test. The run summary shows theemcp:testoutput with every listed tool name. Full reference:EXTRA_CI.md.Changes to eMCP itself
emcp:testfollowstools/listpagination. Laravel MCP returns 15 tools per page, so until now only the first page was checked: eMCP's ownevo.write.*tools and every tool an Extra contributes were never seen.emcp:test --expect-tool=<name>(repeatable) fails when a named tool is missing. The workflow'sexpected_toolsinput passes these names. Unit-tested intests/Unit/eMcpTestCommandRequirementsTest.php.Found by running it from a real Extra
core/custom/composer.jsonthrough composer-merge-plugin, which prefixescustom/to path URLs. URLs are now relative tocore/custom.vendor, the CLI installer runs their migrations without recording them. The nextmigratethen stopped attable "evo_s_workers" already existsand still exited 0. The workflow now installs the CMS first and checksmigrate:status. The installer behaviour itself is an upstream issue and is left as is here.Validation
aMount calls the workflow from its CI (elcreator/aMount, branch
ci-emcp-integration) with all 13amount.*tools inexpected_tools:https://github.com/elcreator/aMount/actions/runs/43740796970
That run shows: aMount and eMCP installed from the checked-out commits; every migration applied, including sTask's, eMCP's and aMount's three, with none pending;
emcp:testansweringinitialize: OKand listing 34 tools across pages; all 13 expected tools present. No step was skipped.Not covered: the workflow lists tools but does not call them. Calling them needs a manager, data and often external stores that the Extra must set up, so
tools/callcoverage stays with each Extra's own tests.🤖 Generated with Claude Code