Skip to content

feat(job): 浏览器 worker 支持停止意图与完整清理 - #106

Merged
xiaoland merged 2 commits into
mainfrom
feat/cli-sink-job-control
Sep 14, 2026
Merged

xiaoland merged 2 commits into
mainfrom
feat/cli-sink-job-control

Conversation

@xiaoland

@xiaoland xiaoland commented Sep 14, 2026

Copy link
Copy Markdown
Member

目的与范围

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 已明确授权依赖顺序合并、正式交付及生产验收;此前禁止合并的限制已撤回。

@xiaoland
xiaoland marked this pull request as ready for review September 14, 2026 10:43
@xiaoland
xiaoland merged commit 47fa3f6 into main Sep 14, 2026
12 of 17 checks 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.

1 participant