10 Commits

Author SHA1 Message Date
Qiu
fda9efa57d refactor(turns): share durable turn status classifications (#3122)
* Share durable turn status groups across application and stores

* Verify durable status groups against SQLite active lookup
2026-12-01 21:36:55 +08:00
Bingxi Zhao (Frank)
e885120cf6 fix(runtime): preserve live turns owned by another local process
Local dev repairs for #2168, #2631.

Real child-process recovery: 16 tests passed, including queued, running, waiting_input, process exit and PID reuse. Existing coordination/application tests: 65 passed, 10 optional Redis skips.
2026-11-15 00:50:30 +08:00
yert
edb205369a fix: preserve Redis event JSON arrays and tolerate legacy artifacts 2026-11-02 02:51:36 +00:00
Bingxi Zhao (Frank)
1526d1a91d Merge remote-tracking branch 'origin/dev' into HEAD 2026-10-27 21:38:53 +08:00
Bingxi Zhao (Frank)
6bbcc00c55 Merge dev into preview, preserving preview features
Integrate dev fixes with preview's Python/TypeScript schedulers, chat queue, learning navigation, and live turn persistence.
2026-10-27 01:16:58 +08:00
AleFlyX
9b721a71d2 fix(runtime): 自动回收工作进程重启后遗留的轮次
变更:
- 内存协调模式从持久化记录发现无主轮次,并复核租约保护活跃执行
- 先以状态和 fencing token 完成失败转换,再持久化并发布连续编号的终态事件
- 增加重启恢复、活跃租约保护、竞争处理及 Redis 事件保留回归测试

验证:
- 相关协调、后台恢复、应用及订阅测试:101 项 PASS,含四 worker/1000 轮次压力测试
- 新增 Redis 恢复用例后的定向复测:14 项 PASS,与上述范围重叠
- 修改文件的适用 pre-commit 检查、架构检查、git diff --check:PASS
- Chromium SIGKILL 实测:无需刷新或新提交,自动显示失败和重试入口
- 用户在独立测试实例复测:旧轮次自动标记 worker_lost,前端显示重试

Fixes #2034
2026-10-23 16:26:01 +08:00
Bingxi Zhao (Frank)
e28c803636 fix(runtime): persist live prefixes and reclaim completed streams (#1971) 2026-10-19 03:29:21 +08:00
Bingxi Zhao (Frank)
399297e7f0 feat: preserve TypeScript engine migration and workspace updates 2026-10-18 23:09:10 +08:00
Bingxi Zhao (Frank)
6e6e56aedb release: v1.6.3
Ship the breaking front- and back-end runtime and route refactor,
learner and guardian flows, grounded reading, knowledge and parser
updates, and recoverable long-running streams.

Release notes: assets/releases/ver1-6-3.md
2026-09-02 04:09:11 +08:00
Bingxi Zhao (Frank)
02ba56793e chore: checkpoint backend stabilization workspace 2026-09-01 21:28:15 +08:00