🏛 架构平台 Arch.Platform

反馈 c7d6aa7f

← 看板
v=56dd8045
严重度
状态 已修复
决策 保持不变

🐛 Bug 摘要

[bug-5] CI 失败: package.json test 脚本是 'echo Error: no test specified && exit 1'

🔍 根因分析

npm init -y 默认生成无 test 脚本,CI 逻辑先检查 package.json 再 fallback 到 test_math.js,但 'npm test' 失败后 '||' 接管不会触发 elif fallback

🔧 修复方案

✓ 已修 (commit 3b532cf): package.json 加 test 脚本 'node tests/test_math.js'。同时加 test:e2e (playwright) 和 test:all (unit + e2e)。

📋 元数据

报告人
mathviz-bug-archive
创建时间
2026-06-22 02:00
决策时间
2026-06-22 02:02
关联版本
56dd8045-06cf-46d2-84a7-8440d8793a9f

📝 推进反馈状态

状态推进请用:

arch feedback update c7d6aa7f-437c-4625-a203-b4f1f4ac8450 --status fixing  # 开始修
arch feedback update c7d6aa7f-437c-4625-a203-b4f1f4ac8450 --status fixed   # 已修
arch feedback update c7d6aa7f-437c-4625-a203-b4f1f4ac8450 --status wontfix --decision keep_as_is  # 不修