feat(job): 浏览器 worker 支持停止意图与完整清理 - #106
Merged
Merged
Conversation
This was referenced Sep 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
目的与范围
CLI sink unit 的浏览器 Job worker 配套:消费 abort_requested,保留首次停止原因,等待 handler 与清理实际结束再终结;stopWorker/app shutdown 同样 await 清理。更新真实数据库生成 DTO,Changeset 保持原生版本准备流程。
证据
相关类型检查、构建、格式检查、完整 CI 和 Pages Preview 通过。真实 Chromium/PostgREST worker 的停止与关闭脚本验证通过;脚本未加入 CI,不将该证据声称为浏览器 Mail collection。
依赖与合并条件
Core #102 的新增 REST/Job/migration 须先 production stable admission;此后刷新本 PR required checks,再按最新授权合并。Hub #25 已合入,shared ref 已以独立提交更新到 5d0d8d7。
没有新增管理 UI,没有共享数据库 reset。跨仓库是交付依赖,不是 Git ancestry stack。
影响与恢复
旧 worker 不消费停止意图,因此两端配套交付后才算闭环。可回退 worker 代码并保留 additive 列,但回退后停止能力不完整。
Sir 已明确授权依赖顺序合并、正式交付及生产验收;此前禁止合并的限制已撤回。