2026.7.3 (ESR) - QUnit 测试运行器无法加载依赖项 (webui)

你好,

在一个全新的 Discourse 开发实例中,运行依赖于其他插件的插件测试时会失败。

复现步骤:

  1. 创建一个新的开发容器:sudo d/boot_dev --init,并完成设置
  2. 访问 http://localhost:3000/tests?target=discourse-calendar
  3. 页面空白,控制台报错:Uncaught (in promise) Error: TypeError: The specifier “discourse/plugins/styleguide?” was a bare specifier, but was not remapped to anything. Relative module specifiers must start with “./”, “../” or “/”.
1 个赞

感谢你的报告,我已在 Firefox 中复现了该问题,并提交了修复补丁。合并后,此问题应该就能恢复正常了。

1 个赞