fix(ci): P0-1 Preview Deploy SSH密钥损坏修复 + 完整性自检 #637
Reference in New Issue
Block a user
Delete Branch "fix/ci-p01-preview-ssh-key"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
P0-1: Preview Deploy SSH密钥修复(失败率68.4%,13/19失败)
根因:
PREVIEW_SSH_KEY私钥文件本身损坏 →identity_sign: private key contents do not match public已完成:
~/.ssh/authorized_keysssh-keygen -y自检,密钥损坏时输出明确错误提示改动文件:
.gitea/workflows/preview-deploy.yml- 新增SSH密钥完整性自检步骤验证: Secret更新后触发Preview Deploy验证通过
🚀 预览环境已部署
Unit Tests失败为develop分支已有问题(test_oneclick_gen_p0_fixes.py枚举mock不匹配),非本PR引入,予以approve。
🗑️ 预览环境已清理
PR #637 已关闭或合并,对应的预览环境已被清理。