1445043649
83b680b2ea
feat(check): postgres preflight in scripts/check.py
...
新增 check_postgres_preflight() —— make dev 链 (check.py → serve.sh) 的最后一道
preflight:
- config.yaml 不存在 → silent skip(让 setup_wizard 引导)
- backend != postgres → silent skip
- DATABASE_URL 未设 → FAIL with hint
- postgres 设了但 host:port 3s socket 不通 → FAIL with 启 docker 提示
- 通则 OK + 显示 host:port
不在 serve.sh 里加:Makefile 已经把 check.py 串在 serve.sh 之前,FAIL 会
自然阻断启动;避免 bash + python 两处实现 PG 探测。
doctor.py 的 check_database 是事后诊断(make doctor);本 check 是事前
preflight(make dev/start)—— 互补。
Stage 0 PR2 T2.6.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-11 09:17:19 +08:00
Admire
9cf7153b1d
fix(check): windows pnpm version detection in check script ( #2189 )
...
* fix: resolve Windows pnpm detection in check script
* style: format check script regression test
* Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
* fix: resolve corepack fallback on windows
---------
Co-authored-by: Willem Jiang <willem.jiang@gmail.com >
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-04-14 10:29:44 +08:00
DanielWalnut
eef0a6e2da
feat(dx): Setup Wizard + doctor command — closes #2030 ( #2034 )
2026-04-10 17:43:39 +08:00
Admire
82c3dbbc6b
Fix Windows startup and dependency checks ( #1709 )
...
* windows check and dev fixes
* fix windows startup scripts
* fix windows startup scripts
---------
Co-authored-by: Willem Jiang <willem.jiang@gmail.com >
2026-04-01 23:13:00 +08:00
tryag
09a9209724
fix: improve Windows compatibility in dependency check ( #1550 )
...
* fix: improve Windows compatibility in dependency check
* fix: tolerate stdio reconfigure failures in check script
---------
Co-authored-by: Willem Jiang <willem.jiang@gmail.com >
2026-03-31 21:54:41 +08:00
orbisai0security
14a3fa5290
fix: use subprocess instead of os.system in analyze.py ( #1289 )
...
The data analysis skill executes shell commands using os
Resolves V-001
Co-authored-by: orbisai0security <orbisai0security@users.noreply.github.com >
2026-03-24 20:42:03 +08:00
Willem Jiang
a79d414695
fix: make check/config cross-platform for Windows ( #1080 ) ( #1093 )
...
* fix: make check/config cross-platform for Windows (#1080 )
- replace shell-based check/config recipes with Python entrypoints
- add a cross-platform dependency checker script
- add a cross-platform config bootstrap script
- route make targets through a Python variable for consistent invocation
- preserve existing config-abort behavior when config file already exists
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-03-13 21:33:12 +08:00