1.1 KiB
1.1 KiB
2026-06-07 — 改密 audit_repo 修复 + 生产对齐部署
摘要
修复 change_password 中 audit_repo 使用前未定义(ruff F821);补齐门控审计;执行正式 deploy-production(Git 对齐 + 前端镜像重建 + 批量升级 Agent)。
变更
| 文件 | 说明 |
|---|---|
server/api/auth.py |
AuditLogRepositoryImpl 先于 AuthService 实例化 |
docs/audit/2026-06-07-files-upload-health-monitor-deploy.md |
门控 Gate 7 审计 |
docs/reports/2026-06-07-ops-patrol-deploy-verification.md |
Layer3 二次演练用户确认 |
迁移 / 重启
- API 容器重建(deploy-production)
- 边端 Agent 经批量升级 API 拉取最新
agent.py
验证
bash deploy/pre_deploy_check.sh # 7/7
bash scripts/local_verify.sh
bash deploy/deploy-production.sh
# 生产 batch/upgrade-agent + /health + 文件上传
生产结果(2026-06-07)
| 项 | 结果 |
|---|---|
deploy-production.sh |
✓ e5a3f25 镜像重建 |
| 前端 vite build | ✓ 打入 Docker 镜像 |
| Agent 批量升级 | ✓ 1/1(机器人) |
| 报告 | docs/reports/2026-06-07-deploy-align-verification.md |