Skip to content

fix(v0.4.9): 回滚保留 GitHub520 静态段(李工 22:12 语义,回滚≠卸载) - #69

Merged
liwmj merged 8 commits into
masterfrom
fix/v0.4.9-rollback-static
Aug 23, 2026
Merged

fix(v0.4.9): 回滚保留 GitHub520 静态段(李工 22:12 语义,回滚≠卸载)#69
liwmj merged 8 commits into
masterfrom
fix/v0.4.9-rollback-static

Conversation

@liwmj

@liwmj liwmj commented Aug 23, 2026

Copy link
Copy Markdown
Owner

内容(李工 22:12 拍板)

  1. 回滚保留静态段:verify 失败回滚改为两步——恢复基线 + 重建 GitHub520 静态段(非核心域名保留,核心域名回退系统 DNS);静态兜底 IP 不清空
  2. 回滚 ≠ 卸载:卸载仍彻底清理(remove_block 全清含 ghlink520 段)
  3. 测试:新增 test_v049_regression.py(回滚重建静态段 + 卸载清理断言)+ 修复既有测试 mock 兼容(apply_block 加 preserve_g520 参数)

测试

  • 专项 3 passed
  • 全量 127 passed(test_e005/test_e007 为 Windows Temp 环境抖动,重跑通过)
  • ruff 全绿

语义

  • 回滚:核心域名动态段回滚(坏配置不留场)+ 静态兜底段保留/重建(非核心持续可用)
  • 卸载:彻底清理干干净净

@sonarqubecloud

Copy link
Copy Markdown

@liwmj
liwmj merged commit 362d259 into master Aug 23, 2026
6 checks passed
@liwmj
liwmj deleted the fix/v0.4.9-rollback-static branch August 23, 2026 14:34
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