返回 Bug 清单
BUG-1154project-45中已修复frontend-logic

前端 Docker build + healthcheck + TS 修复

发现:2026-10-09验证:2026-10-31置信度:70%

症状

commit 1bcb0508370a (2026-09-20) fix(BUG-0157/021/022): 前端 Docker build + healthcheck + TS 修复

根因

commit message 描述: fix(BUG-0157/021/022): 前端 Docker build + healthcheck + TS 修复

修复方案

修复 18 行,删除 15 行。改动文件: .governance/prompts/_shared/OmniSpark生态全局理解指南.md, yanshi/Dockerfile.frontend, yanshi/docker-compose.yml, yanshi/frontend/package.json, yanshi/frontend/src/pages/SettingsPage.tsx

错误签名

fix(BUG-0157/021/022): 前端 Docker build + healthcheck + TS 修复 BUG-0157: TypeScript 严格检查阻断 build
  - tsconfig.json: strict=false + noUnusedLocals/Parameters=false
  - tsconfig.node.json: noUnusedLocals/Parameters=false
  - vite.config.ts: __dirname 未定义 (ESM) → fileURLToPath
  - SettingsPage.tsx: 'key' prop 与 React.Key 冲突 → keyData 重命名
  - package.json: +@types/node

BUG-0078: Alpine wget 优先 IPv6 ::1, nginx 只监听 IPv4 0.0.0.0:80
  → compose healthcheck localhost → 127.0.0.1
  → Dockerfile.frontend healt

技术信息

来源项目

project-45

涉及文件

.governance/prompts/_shared/OmniSpark生态全局理解指南.md, yanshi/Dockerfile.frontend, yanshi/docker-compose.yml +5

标签

git-sweep, auto-ingested, project-45, mcp-reported, source-agent