Commit Graph

2450 Commits

Author SHA1 Message Date
zhuyuan-bot 906e1d56d3 📡 部署日志采集 · 24287618343 [skip ci] 2026-04-11 17:23:14 +00:00
zhuyuan-bot 42d9d013b2 AOAC-03 · 链路合体报告 · PR #345 [skip ci] 2026-04-11 17:22:09 +00:00
zhuyuan-bot a99e4a228d 🔍 AOAC-02 · PR #345 合并CI日志 [skip ci] 2026-04-11 17:21:59 +00:00
zhuyuan-bot f8b2955973 📡 README自动更新 · PR #345 合并触发 [skip ci] 2026-04-11 17:21:57 +00:00
冰朔 2a23a5daa4
Merge pull request #345 from qinfendebingshuo/copilot/fix-http-error-502
fix: HTTP 502 on guanghulab.com/online + CN LLM relay SSH auth failure
2026-04-12 01:21:46 +08:00
copilot-swe-agent[bot] bddb8ac558
merge: resolve conflicts with main — keep ProxyJump SSH fix
Conflicts resolved:
- deploy-cn-llm-relay.yml: kept our SG ProxyJump version (the SSH fix)
- README.md: took main's newer dashboard timestamp
- data/aoac/chain-status.json: took main's updated repair status

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 17:19:10 +00:00
copilot-swe-agent[bot] c699c76596
fix: CN LLM relay SSH — use SG ProxyJump + public key extraction diagnostics
Root cause: GitHub Actions → 广州直连 SSH认证失败,因authorized_keys中
的公钥与ZY_CN_LLM_KEY私钥不匹配。

修复:
1. 改用SG(新加坡)跳板连接方式 (GitHub Actions → SG → 广州),
   与deploy-cn-landing.yml保持一致的SSH架构
2. 添加公钥提取诊断: ssh-keygen -y 从私钥导出公钥并显示,
   冰朔可直接粘贴到广州服务器authorized_keys
3. 所有三个job(deploy/health-check/restart)统一使用ProxyJump
4. 每个job添加SSH密钥清理步骤

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/cfe82b00-6d48-4c9b-85f6-f8001a97645a

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 15:56:47 +00:00
zhuyuan-bot b1946ab879 👁️ AOAC-08 · 监督判定 · green [skip ci] 2026-04-11 15:53:09 +00:00
zhuyuan-bot adab96f6fa 🔧 AOAC-07 · 修复报告 · AOAC-REPAIR-20260411-272 [skip ci] 2026-04-11 15:53:01 +00:00
copilot-swe-agent[bot] 81962bc4dc
fix: improve grep portability in deploy-cn-landing.yml
Use -E (ERE) and [[:space:]] instead of \s and \| for POSIX
compliance across different grep implementations.

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/80f409c9-7f98-443e-9c31-21111194a523

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 15:44:37 +00:00
copilot-swe-agent[bot] 9dffe85f22
fix: remove PORT/ZY_SITE_MODE from .env.app to prevent PM2 port conflict
The deploy workflow was writing PORT=3800 and ZY_SITE_MODE=production
into .env.app, which gets loaded by ecosystem.config.js's loadEnvFile().
Since ...appEnv is spread first and instance-specific values override it,
this is now safe — but removing them from .env.app eliminates the root
cause entirely (belt-and-suspenders fix).

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/80f409c9-7f98-443e-9c31-21111194a523

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 15:42:11 +00:00
zhuyuan-bot ece55b2c86
📡 部署日志采集 · 24285712001 [skip ci]
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 15:42:11 +00:00
zhuyuan-bot 2f1b407768
AOAC-03 · 链路合体报告 · PR #344 [skip ci]
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 15:42:10 +00:00
zhuyuan-bot 1186eda2d6
📡 README自动更新 · PR #344 合并触发 [skip ci]
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 15:42:10 +00:00
zhuyuan-bot 2dd394ff94
🔍 AOAC-02 · PR #344 合并CI日志 [skip ci]
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 15:42:10 +00:00
copilot-swe-agent[bot] 53c115af36
fix: 采纳代码审查反馈 — SSH config直接插值、部署目录检查、密钥错误提示
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/bf92e1d8-e789-468b-80ab-2d7fec9be6c2

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 15:42:10 +00:00
copilot-swe-agent[bot] 4c69bf46aa
fix: 改进CN LLM部署SSH处理 + 明确域名配置要求 (工单三/五修复)
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/bf92e1d8-e789-468b-80ab-2d7fec9be6c2

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 15:42:10 +00:00
zhuyuan-bot 3967a943e8
📡 AOAC-06 · Notion同步信号已发送 [skip ci]
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 15:42:09 +00:00
zhuyuan-bot 409a2e102e
🏠 AOAC-05 · 首页主控更新 · 2026-04-11 15:34 [skip ci]
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 15:42:09 +00:00
zhuyuan-bot 88095d713d
📋 AOAC-04 · 同步模块数据更新 [skip ci]
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 15:42:09 +00:00
github-actions[bot] 6d828ef603
🔍 副将巡查状态更新 · 2026-04-11T15:32:46Z
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 15:42:09 +00:00
zhuyuan-bot 988824b579 🎖️ 铸渊将军唤醒 · 2026-04-11 23:40 · 仪表盘+HLDP同步+签到更新 2026-04-11 15:40:19 +00:00
zhuyuan-bot 15b5ff2494 📡 部署日志采集 · 24285712001 [skip ci] 2026-04-11 15:36:33 +00:00
copilot-swe-agent[bot] 3fc1d35390
fix: resolve HTTP 502 — clean conflicting Nginx configs + fix PM2 port override bug
Root causes found:
1. CN server (www.guanghulab.com): conflicting Nginx configs in sites-enabled
   and conf.d override cn-domain.conf, causing requests to proxy to a non-
   responsive backend → 502
2. SG server: ecosystem.config.js spreads .env.app AFTER PORT/ZY_SITE_MODE,
   causing .env.app's PORT=3800 to override preview's PORT=3801 → both
   instances fight for port 3800 → preview fails → 502 on preview domain

Fixes:
- deploy-cn-landing.yml: clean ALL conflicting Nginx site configs from both
  sites-enabled and conf.d before installing cn-domain.conf
- deploy-cn-landing.yml: enhanced health check diagnostics to detect config
  conflicts and validate correct service identity
- ecosystem.config.js: move ...appEnv BEFORE instance-specific PORT and
  ZY_SITE_MODE to ensure PM2 config takes priority over .env.app

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/80f409c9-7f98-443e-9c31-21111194a523

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 15:36:16 +00:00
zhuyuan-bot cd8f768367 AOAC-03 · 链路合体报告 · PR #344 [skip ci] 2026-04-11 15:35:04 +00:00
zhuyuan-bot e82f46007f 📡 README自动更新 · PR #344 合并触发 [skip ci] 2026-04-11 15:34:59 +00:00
zhuyuan-bot 8d3a488da8 🔍 AOAC-02 · PR #344 合并CI日志 [skip ci] 2026-04-11 15:34:56 +00:00
冰朔 5640cc2f7a
Merge pull request #344 from qinfendebingshuo/copilot/update-network-connection-status
fix: CN LLM relay SSH debugging + domain mapping clarification
2026-04-11 23:34:46 +08:00
zhuyuan-bot b31e44c9f6 📡 AOAC-06 · Notion同步信号已发送 [skip ci] 2026-04-11 15:34:23 +00:00
zhuyuan-bot ce59faea26 🏠 AOAC-05 · 首页主控更新 · 2026-04-11 15:34 [skip ci] 2026-04-11 15:34:13 +00:00
zhuyuan-bot 0283025d4c 📋 AOAC-04 · 同步模块数据更新 [skip ci] 2026-04-11 15:34:05 +00:00
github-actions[bot] f85ebf7da2 🔍 副将巡查状态更新 · 2026-04-11T15:32:46Z 2026-04-11 15:32:46 +00:00
copilot-swe-agent[bot] d1267add81
fix: 采纳代码审查反馈 — SSH config直接插值、部署目录检查、密钥错误提示
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/bf92e1d8-e789-468b-80ab-2d7fec9be6c2

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 15:28:01 +00:00
copilot-swe-agent[bot] 8ec088624c
fix: 改进CN LLM部署SSH处理 + 明确域名配置要求 (工单三/五修复)
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/bf92e1d8-e789-468b-80ab-2d7fec9be6c2

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 15:26:31 +00:00
zhuyuan-bot f5cd2f85ef 📡 部署日志采集 · 24284972500 [skip ci] 2026-04-11 14:56:01 +00:00
zhuyuan-bot 0c7d1c0104 📡 README自动更新 · PR #343 合并触发 [skip ci] 2026-04-11 14:54:37 +00:00
zhuyuan-bot a8ca89a597 AOAC-03 · 链路合体报告 · PR #343 [skip ci] 2026-04-11 14:54:32 +00:00
zhuyuan-bot b88d95cb44 📡 README自动更新 · push触发 · 2026-04-11 22:54 [skip ci] 2026-04-11 14:54:24 +00:00
zhuyuan-bot c71a5492e3 🔍 AOAC-02 · PR #343 合并CI日志 [skip ci] 2026-04-11 14:54:21 +00:00
冰朔 7b6dea9555
Merge pull request #343 from qinfendebingshuo/copilot/debug-api-connection-issues
fix: PM2 preview process restart + trust proxy + CN LLM relay
2026-04-11 22:54:11 +08:00
copilot-swe-agent[bot] d457ccd746
fix: validate empty messages + trim relay host whitespace
Address code review: check for empty messages array in relay, and
trim whitespace from CN_RELAY_HOST to avoid silent connection failures.

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/04495ae8-6c76-4458-bbb0-262e3205dccd

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 14:48:32 +00:00
copilot-swe-agent[bot] f8824ac43f
fix: restart zhuyuan-preview PM2 process on deploy + add 3801 health check
Root cause: deploy workflow only deleted zhuyuan-server before PM2 restart,
leaving zhuyuan-preview in errored state. Since guanghulab.online is the
preview domain (Nginx §2 → port 3801), requests to /api/* got 502.

Fix: delete BOTH zhuyuan-server AND zhuyuan-preview before pm2 start.
Add health check for port 3801 to detect this failure in future deploys.

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/04495ae8-6c76-4458-bbb0-262e3205dccd

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 14:45:42 +00:00
铸渊-COS接入Agent 6d00b0b71a 🔗 COS自动接入检查 · 2026-04-11 14:26 2026-04-11 14:26:43 +00:00
copilot-swe-agent[bot] 6146dd3aea
fix: address code review feedback - startup validation, error context, security notes
- Fail fast on startup if ZY_CN_RELAY_API_KEY is not configured
- Add model endpoint context to error messages for debugging
- Make API timeout configurable via environment variable
- Deduplicate health check curl in workflow
- Add security note about VPN-encrypted relay channel

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/f6db708e-8b10-4339-b48f-db5f111ae5cd

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 14:21:44 +00:00
copilot-swe-agent[bot] 91c957d85e
feat: add trust proxy fix + CN LLM relay service for Guangzhou
工单一: Add app.set('trust proxy', 1) to server.js (prevents PM2 crash)
Phase 1: Create server/cn-llm-relay/ - lightweight LLM proxy for Guangzhou
Phase 2: Modify domestic-llm-gateway.js - relay through Guangzhou with fallback
Phase 3: Add deploy-cn-llm-relay.yml workflow for automated deployment
Update server-registry.json with ZY-SVR-003 and cn-llm-relay config
Update deploy-to-zhuyuan-server.yml to inject CN relay env vars

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/f6db708e-8b10-4339-b48f-db5f111ae5cd

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 14:18:27 +00:00
zhuyuan-bot ada4091e9e AOAC-03 · 链路合体报告 · PR #342 [skip ci] 2026-04-11 13:52:11 +00:00
zhuyuan-bot 30c606f27d 📡 README自动更新 · PR #342 合并触发 [skip ci] 2026-04-11 13:52:03 +00:00
zhuyuan-bot 72692a9db3 🔍 AOAC-02 · PR #342 合并CI日志 [skip ci] 2026-04-11 13:52:02 +00:00
冰朔 d9da505d86
Merge pull request #342 from qinfendebingshuo/copilot/fix-domain-deployment-issues
fix: rsync tilde expansion failure in cn-landing deploy workflow
2026-04-11 21:51:53 +08:00
copilot-swe-agent[bot] 815f8f5f12
fix: remove explicit SSH config path from rsync to fix tilde expansion issue in cn-landing deploy
The rsync `-e "ssh -F ~/.ssh/config"` fails because `~` inside double
quotes is not expanded by bash. rsync passes the literal `~/.ssh/config`
to ssh, which cannot resolve it. Removing `-e` lets rsync use the default
ssh, which reads `$HOME/.ssh/config` automatically.

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/45d1241e-8f50-40ac-898d-54e2a92b3300

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 13:13:41 +00:00