Skip to content

Close production E2E acceptance gaps - #2

Merged
bocmiao merged 5 commits into
mainfrom
codex/production-e2e-gaps
Nov 4, 2026
Merged

bocmiao merged 5 commits into
mainfrom
codex/production-e2e-gaps

Conversation

@bocmiao

@bocmiao bocmiao commented Sep 27, 2026 •

Copy link
Copy Markdown
Owner

Summary

生产验收流程现在覆盖 HTTPS、两步验证和停机备份恢复,并将变更执行日志作为实际操作的前置条件。

变更/回滚
  → 先持久化执行记录;失败则停止操作
  → 执行并保存结果;保存失败则停止后续步骤
  → 刷新页面与云资源缓存
  → 清单保留备用回滚数据,回滚后退休服务器上的 rollback.sh

开启两步验证的两个接口均重新确认当前密码;Compose 在 Linux 主机网络中只监听回环地址,移除对整个 Docker 私网段的默认信任。已整合最新 main,保留新版安装向导、MySQL 支持和界面布局修复,并纠正 systemd 恢复目录与服务启动说明。

Evidence

  • Before: 旧分支落后 main,存在安装向导冲突;结果日志直接更新会跳过缓存刷新,备用回滚路径丢失回滚文件信息,非空卷检查未阻止解包。
    After: 完成集成,恢复缓存失效与回滚元数据,空卷检查使用 &&。新增故障注入测试验证停止后续步骤、备用回滚、回滚文件退休及拒绝重复回滚。
  • 本地定向 Go 测试通过:TOTP 密码确认、日志创建失败、日志保存失败时缓存失效、拒绝外部传入恢复路径。
  • 306 个布局检查及新增表单 6 种宽度(320–1920px)交互检查通过;无横向溢出或浏览器异常,取消后密码清空。
  • 远端 CI #117 全部通过:全量 Go 测试、Linux/Windows vet、漏洞扫描、5 组 MySQL/MariaDB、Docker HTTPS/TOTP/备份恢复,以及 Linux 安装包生命周期。发布任务按分支条件跳过。

Merge Danger

Door: two-way

代码可回退;无破坏性数据库迁移。Docker Compose 改为 Linux 主机网络,仍只监听 127.0.0.1:18765。

Blast Radius: authentication/execution/deployment

真实 SSH、面板和云资源演练仍属于上线验收;本 PR 的模拟测试与 CI 不代表生产部署已完成。

Integrate the current install wizard and responsive TOTP form. Retain page and cloud cache invalidation on execution-log failure, preserve fallback rollback file metadata, and gate backup extraction on an empty volume. Add regression coverage for partial audit-log failures.
@bocmiao
bocmiao marked this pull request as ready for review November 4, 2026 16:56
@bocmiao
bocmiao merged commit 2eaa01a into main Nov 4, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant