You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Root Cause] advisory-update (auto-maintained, do not close manually) | [根因] advisory-update(自动维护,勿手动关闭) #6342
changed the title [-][根因] advisory-update(自动维护,勿手动关闭)[/-][+][Root Cause] advisory-update (auto-maintained, do not close manually) | [根因] advisory-update(自动维护,勿手动关闭)[/+]on Nov 12, 2026
Activity
[-][根因] advisory-update(自动维护,勿手动关闭)[/-][+][Root Cause] advisory-update (auto-maintained, do not close manually) | [根因] advisory-update(自动维护,勿手动关闭)[/+]ranxianglei commentedon Nov 12, 2026
[bot] 🏷 收到,开始处理本批 advisory-update 根因修复。
查重:不重复——#6306 已有自己的 PR #6316(绿),方向一致,按任务要求 cherry-pick 其 commit;#6308 / #6312 无在途 PR。
已完成分析:三个 issue 指向同一根因——更新/公告子系统信任远程文档的数据,缺少对「目标版本」和「自由文本」的校验。
无需决策、可立即修复的部分(本 PR 范围):
reason/summaryhas no length limit, preserves newlines, and is passed into ac | [Bug][advisory][update-notes] 远程的reason/summary不限长、保留换行,原样进到 acp_status(模型上下文) #6306:远程 reason/summary 无长度上限 → cherry-pick [PR] fix(advisory,update-notes): truncate remote reason/summary and collapse newlines into spaces before writing to acp_statu | fix(advisory,update-notes): 远程的 reason/summary 进 acp_status 之前先限长、把换行并成空格 #6316 的 commit(保留原作者署名)targetof an announcement only undergoes syntax validation: a single announcement entry can force-instal | [updater] 公告的target只做语法校验:一条公告条目就能强制安装任意已发布版本(旧发布版、PR/master 预发布构建) #6308:advisorytarget只查语法不查语义 → 修复 1(target 必须落在自身affected之外)+ 2(target 必须是 release,不能是 prerelease)+ 4(同步 CI 校验 + 修 README 示例与测试里的坏样例)需要决策、暂不实现的部分(稍后单独发一条「🔶 需要决策」评论,不塞进 PR):
targetof an announcement only undergoes syntax validation: a single announcement entry can force-instal | [updater] 公告的target只做语法校验:一条公告条目就能强制安装任意已发布版本(旧发布版、PR/master 预发布构建) #6308 修复 3:降级下限(floor)从哪里来blocked/pinned, the installed candidate version may be higher than the current | [Bug][update-policy] 设了blocked/pinned后,安装候选版本可能高于本通道的 dist-tag;已落盘的错峰抽取不理会之后才加的按版本 override #6312 点 1:pin/block 生效后候选可高于 dist-tag(A/C 方案 + 通道归属规则)blocked/pinned, the installed candidate version may be higher than the current | [Bug][update-policy] 设了blocked/pinned后,安装候选版本可能高于本通道的 dist-tag;已落盘的错峰抽取不理会之后才加的按版本 override #6312 点 2:持久化 stagger 抽签忽略后加的 override(A/B/C 方案)正在实现 PR,完成后回帖说明改了什么、为什么一次修了整批,并附八问。