You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maka.apache.org by "M4n5ter (via GitHub)" <gi...@apache.org> on 2026/08/23 05:34:35 UTC
[PR] feat(runtime-host): add managed Host retirement [maka]
M4n5ter opened a new pull request, #3557:
URL: https://github.com/apache/maka/pull/3557
<details open>
<summary>English</summary>
## Summary
Adds the local-operator retirement boundary required before a managed Runtime Host service can be replaced. The CLI now fences the exact live Host, reports bounded active-work blockers unless interruption was explicitly authorized, stops the service, and verifies that the State Root writer was released.
This reuses the existing exact-Epoch Host prepare contract. Package staging, version switching, replacement startup, and update policy remain outside Runtime Host authority.
Refs #3231
Refs #3228
## Verification
- `npm --workspace @maka/runtime-host test` — 1,085 tests passed
- `npm --workspace maka-agent test` — 384 tests passed
- `npm run lint`
- `npm run format:check`
- `npm run build`
- `npm run typecheck`
- Disposable Linux systemd user service: install, target-mismatch rejection, retire, idempotent retry, restart, status, uninstall, and cleanup all passed
## AI use
- [ ] No generative tool made a substantive contribution
- [x] Generative tooling made a substantive contribution
Tool(s) and scope: OpenAI Codex contributed substantively to the implementation and tests under the contributor's direction. The human contributor owns review and submission.
## Checklist
- [x] Tests cover the change and fail without it
- [x] Lint, format, typecheck and the affected suites pass locally
Does this PR entail a change in behavior?
- [x] Yes — described under Summary above
- [ ] No
</details>
<details>
<summary>简体中文</summary>
## 概要
增加 managed Runtime Host service 在替换前所需的 local-operator 退场边界。CLI 现在会 fence 精确的 live Host;若未明确授权中断,则返回有界的 active-work blocker;完成准备后停止 service,并验证 State Root writer 已释放。
该实现复用现有的 exact-Epoch Host prepare contract。Package staging、版本切换、replacement 启动和更新策略仍不属于 Runtime Host authority。
关联 #3231
关联 #3228
## 验证
- `npm --workspace @maka/runtime-host test` — 1,085 项测试通过
- `npm --workspace maka-agent test` — 384 项测试通过
- `npm run lint`
- `npm run format:check`
- `npm run build`
- `npm run typecheck`
- 一次性 Linux systemd user service:install、target mismatch 拒绝、retire、幂等重试、restart、status、uninstall 与清理均通过
## AI 使用
- [ ] 无生成式工具实质参与
- [x] 生成式工具有实质参与
工具与范围:OpenAI Codex 在贡献者指导下实质参与实现与测试。人工贡献者负责审查与提交。
## 检查清单
- [x] 测试覆盖该变更,且缺少该变更时会失败
- [x] lint、format、typecheck 与受影响测试套件均已在本地通过
本 PR 是否改变行为?
- [x] 是 — 已在概要中说明
- [ ] 否
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org
Re: [PR] feat(runtime-host): add managed Host retirement [maka]
Posted by "M4n5ter (via GitHub)" <gi...@apache.org>.
M4n5ter merged PR #3557:
URL: https://github.com/apache/maka/pull/3557
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org