Skip to content

fix(extensions): 先保存扩展停用意图 - #208

Closed
xiaoland wants to merge 4 commits into
test/job-closure-audit-integrationfrom
fix/persist-extension-disable-intent
Closed

xiaoland wants to merge 4 commits into
test/job-closure-audit-integrationfrom
fix/persist-extension-disable-intent

Conversation

@xiaoland

@xiaoland xiaoland commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

改动

  • Python Host 先保存共享停用意图,再执行实际关闭和撤销本机公开能力。失败时保留实际运行记录供重试,冷启动从已持久化的意图恢复。
  • 再次启用先清理部分撤销的实例。Peer 广播由当前操作报告并按既有周期收敛,扩展状态仅保留实际清理错误。
  • 对照共享参与契约调整最近的代理指南,覆盖保存失败、关闭失败、冷恢复、再启用与广告错误。

验证

与真实测试审计整合

本 PR 以 #212 为基底。延续审计对模拟 ExtensionHost 与旧夹具的退役,将停用顺序、冷启动、清理重试和广播失败移入已有真实 Host 验收。使用独占 PostgreSQL 拒绝一条写入,确认本机清理不会抢在持久化之前。

原审计候选 cc644b1 上四项新增用例均按目标行为失败。候选 2093306 上相邻验收 13 项、完整数据库 294 项通过,6 项外部验收显式排除。全仓 Ruff、Pyrefly 通过。

@xiaoland
xiaoland changed the base branch from main to test/job-closure-audit-integration November 28, 2026 18:01
@xiaoland xiaoland closed this Nov 28, 2026
@xiaoland
xiaoland deleted the fix/persist-extension-disable-intent branch November 28, 2026 18:33

This branch was successfully deployed

1 active deployment
preview — 2093306a Deployed Nov 28, 2026 by xiaoland via impl-py preview cleanup #607
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