Problem/Motivation
The initial GitLab pipeline for mcp_server_ui is red after
enabling the Drupal.org GitLab CI template on the 1.x branch.
The failing pipeline is:
-
Pipeline:
856065 -
Commit:
2f47d337
(ci: execute GitLab CI pipelines) - Branch:
1.x - Created:
2026-06-18 13:57 UTC
The blocking failure is the phpunit job. The pipeline also has
warning failures in cspell and phpstan; those are
currently allowed to fail, but they should be fixed so future CI tightening
does not turn the pipeline red again.
Steps to reproduce
- Push the current
1.xbranch with the committed.gitlab-ci.yml. - Open pipeline 856065.
- Inspect job 10416424 (
phpunit).
Observed result
The phpunit job fails before running useful assertions because
the test installs a fixture module that is not present in this split-out
project:
Drupal\Core\Extension\MissingDependencyException: Unable to install modules mcp_server_ui, mcp_server_test due to missing modules mcp_server_test. /builds/project/mcp_server_ui/tests/src/Functional/McpServerUiTest.php:42 Tests: 1, Assertions: 0, Errors: 1, Warnings: 6, Risky: 1.
The phpstan job reports missing classes from the
mcp_server dependency, for example:
Drupal\mcp_server\Plugin\PromptArgumentCompletionProviderManager Drupal\mcp_server\Entity\McpPromptConfig Drupal\mcp_server\Plugin\ResourceProviderManager Drupal\mcp_server\Plugin\ResourceTemplateProviderManager
The cspell job reports kenkeep as an unknown word
in AGENTS.md and skills-lock.json.
Expected result
The default GitLab pipeline for 1.x should complete with a green
overall status. The required composer, composer-lint,
phpcs, and phpunit jobs should pass, and the
non-blocking validation jobs should not contain known actionable failures.
Proposed resolution
-
Fix the functional test fixture dependency. Either add a local
tests/modules/mcp_server_ui_testfixture module that provides
the resource provider and completion provider plugins needed by
McpServerUiTest, or make the upstream
mcp_server_testfixture available to this project's PHPUnit
job in a documented way. -
Fix PHPStan discovery for the
mcp_serverdependency so the
analyzer can resolve the classes used by the UI module. Prefer a project
phpstan.neonor CI configuration that scans the installed
dependency over adding baselines for missing symbols. -
Commit the project dictionary update, or set
_CSPELL_WORDS, so
kenkeepis treated as a project word. - Re-run the GitLab pipeline and confirm the required jobs are green.
drupalorg CLI workflow
After this issue exists, the issue fork/MR can be managed with
drupalorg:
drupalorg issue:show <nid> --format=llm --no-cache drupalorg issue:fork <nid> --format=llm drupalorg issue:get-access <nid> --format=llm drupalorg issue:setup-remote <nid> drupalorg issue:checkout <nid> <branch> # After pushing the fix branch: drupalorg mr:list <nid> --format=llm --no-cache drupalorg mr:status <nid> <mr-iid> --format=llm --no-cache drupalorg mr:logs <nid> <mr-iid>
Remaining tasks
- Create an issue fork.
- Push a merge request with the fixture/PHPStan/CSpell fixes.
- Verify the MR pipeline using
drupalorg mr:statusanddrupalorg mr:logs. - Set the issue to needs review once the pipeline is green.
User interface changes
None.
API changes
None.
Data model changes
None.
Issue fork mcp_server_ui-3604051
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
e0ipso