php-transformer declares no tests, so every Cook test gate fails after homeboy#19795
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 78/100
调研方向
检查仓库的 Homeboy 配置,并确认它如何声明独立 PHP 测试路径。按照 issue 中的说明,将 tests/run.php 添加到 extensions.wordpress.settings.standalone_php_test_paths。运行 php tests/run.php 和继承的 Homeboy 测试门禁;当测试套件被发现且两个命令都通过时,即为完成。
由索引模型根据 Issue 内容生成。
描述
Summary
Since Extra-Chill/homeboy#19795 (wordpress-v3.58.7), a test-*.php file only counts as PHPUnit when a PHPUnit config declares it. php-transformer has no PHPUnit config and declares no standalone suite, so every Cook's inherited test gate (homeboy --placement local review test php-transformer) now fails with no test files found ... PHPUnit discovery is empty and no standalone PHP tests are selected. Before that change, the same gate crashed loading tests/contract/test-runner.php into Playground (homeboy#19766).
Evidence: Cook agent-task-7a4aeef6-89b9-4de8-ba8b-dbbcd340de1c (#7676), gate-3 artifact homeboy://run/lab-gate-6f703f83-49bd-470a-ad45-83b1cab29bda/artifact/8f75103c-277d-45c9-bea8-27a3c65b68e7.
Fix
Declare the suite runner php-transformer already uses as its standalone PHP test:
"extensions": { "wordpress": { "settings": { "standalone_php_test_paths": ["tests/run.php"] } } }
On homeboy-lab (32 CPUs, Chrome present), php tests/run.php on trunk runs the full suite in 497 s with 2103 tests and 0 failed, inside the gate's 1800 s budget.
AI disclosure: diagnosed and written up by Claude (Anthropic) running in Pi via Roadie for Chris Huber.
- 主要语言
- PHP
- 星标
- 31
- 派生
- 7
- 平均合并
- 7 小时 50 分钟
- 30 天内合并 PR
- 822
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Automattic/blocks-engine 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
Automattic/blocks-engine#4943 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
Automattic/blocks-engine#4942 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
Automattic/blocks-engine#4921 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
Automattic/blocks-engine#775 ·
维护者通常 1 天内回复
-
Non-ASCII source URLs move to opaque segment-<hash> slugs; WordPress supports UTF-8 slugs natively未关闭
难度 4/5 3-5 天 新手友好度 56/100
Automattic/blocks-engine#7727 ·
维护者通常 1 天内回复
查看 Automattic/blocks-engine 的全部 Issue
相似的 Issue
-
Document lexicon.default.userconfig and lexicon.default.userconfig.enforced in config.sample.php未关闭enhancement feature: settings good first issue
难度 1/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
nextcloud/integration_openai#480 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
a11y
难度 2/5 1-3 小时 新手友好度 68/100
omeka/plugin-Contribution#84 ·
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
recca0120/vscode-phpunit#620 ·
维护者通常 1 天内回复