Skip to content

fix(update): 下游升级反馈 P1/P3/P4 —— fixture 受管 + .new 草稿备份 + 提示修正 - #6

Merged
lqtdys merged 1 commit into
mainfrom
fix/update-feedback-p1-p3-p4
Oct 25, 2026
Merged

lqtdys merged 1 commit into
mainfrom
fix/update-feedback-p1-p3-p4

Conversation

@lqtdys

@lqtdys lqtdys commented Oct 25, 2026

Copy link
Copy Markdown
Contributor

风险等级: medium

变更(下游 /tmp/cw-update-feedback-issue.md 6 条反馈的处置)

  1. P1(真):两个 fixture html 漏出 cw_list_files 受管清单 → 消费仓装脚本装不了 fixture,无参自检假红。入清单,受管 25→27。
  2. P3(真):.new 无条件覆盖丢用户草稿。覆盖前探测:非空且与新版不同 → 备份 .new.bak + 告警;等值不冗余备份。e2e 用例 11b(MERGE-DRAFT 场景,红证复现过丢失)。
  3. P4(真):提示 ./update.sh → ./scripts/cw-update.sh;--accept-local 提为处理方式第 1 项。
  4. P2 部分成立(根因即 P3);P5/P6 经逐条核实不成立(描述的目录/文件/断言在本仓不存在),回执见 CHANGELOG。

验证

$ ./test/install-update-e2e.sh
通过 347 · 失败 0 ✅(+用例 11b:5 断言)

$ ./test/rollout-check.sh ../md-bundle ../mdpkg ../clairis ../contentweave
消费仓 4 个 · 通过 12 · 失败 0

- P1: fixture html 漏出受管清单 → 消费仓无参自检假红;入清单,受管 25→27
- P3: .new 覆盖前探测非空且不同 → 先备份 .new.bak(两处覆盖点),e2e 11b 回归锁
- P4: 提示 ./update.sh → ./scripts/cw-update.sh;--accept-local 提为处理方式第 1 项
- P5/P6 经核实不成立(描述细节在本仓不存在),回执记录于 CHANGELOG

先红后绿:e2e 342→347 全过;rollout-check 4 消费仓全过
@lqtdys
lqtdys merged commit e16c61c into main Oct 25, 2026
1 check 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.

2 participants