Commit Graph

2612 Commits

Author SHA1 Message Date
copilot-swe-agent[bot] 46166a3bb4
refactor: 移除冗余BARE变量,直接使用BARE_DOMAIN
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/80e337de-dabe-4e86-a711-62d4c47762ec

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-12 00:22:45 +00:00
copilot-swe-agent[bot] 6de783ad4f
fix: guanghulab.com无法打开 + guanghulab.online API不通
根因修复:
1. cn-domain.conf: server_name支持裸域名+www双变体
2. deploy-cn-landing.yml: 域名双变体处理 + setup-ssl动作(certbot) + SSL自动注入
3. deploy-to-zhuyuan-server.yml: push事件部署前端到production(guanghulab.online=主域名=production)
4. zhuyuan-sovereign.conf: /api/chat添加CORS头+X-Forwarded-Proto

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/80e337de-dabe-4e86-a711-62d4c47762ec

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-12 00:21:22 +00:00
zhuyuan-bot bf3dee555b 📡 部署日志采集 · 24288529632 [skip ci] 2026-04-11 18:14:37 +00:00
zhuyuan-bot 7bf32e6480 📡 README自动更新 · push触发 · 2026-04-12 02:13 [skip ci] 2026-04-11 18:13:20 +00:00
zhuyuan-bot 738386c071 AOAC-03 · 链路合体报告 · PR #346 [skip ci] 2026-04-11 18:13:11 +00:00
zhuyuan-bot dfbf413968 📡 README自动更新 · PR #346 合并触发 [skip ci] 2026-04-11 18:13:07 +00:00
zhuyuan-bot 63a5506578 🔍 AOAC-02 · PR #346 合并CI日志 [skip ci] 2026-04-11 18:13:01 +00:00
冰朔 a865bf1c4f
Merge pull request #346 from qinfendebingshuo/copilot/check-global-issues
fix: chat API fallback chain broken + correct guanghulab.com domain architecture
2026-04-12 02:12:52 +08:00
copilot-swe-agent[bot] 83c3eaabc4
fix: 移除健康检查中遗漏的ZY_DOMAIN_ALIAS引用
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/52dcb970-3a2b-4e61-9acb-df3b5fab73c9

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 18:09:09 +00:00
copilot-swe-agent[bot] c4a54a2cf8
fix: 聊天API fallback链修复 + 纠正guanghulab.com域名架构 + 密钥诊断
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/52dcb970-3a2b-4e61-9acb-df3b5fab73c9

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 18:06:22 +00:00
copilot-swe-agent[bot] ab86c04315
🔧 修复代码审查反馈: 变量引号+简化grep -c
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/df402ed1-c1de-4642-a531-fcb3331e1c05

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 17:53:04 +00:00
copilot-swe-agent[bot] 56659395eb
🔧 guanghulab.com DNS诊断修复 · 添加域名别名支持+DNS验证
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/df402ed1-c1de-4642-a531-fcb3331e1c05

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 17:51:09 +00:00
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