feat: add automatic Worker runtime with lease recovery and bounded shutdown

This commit is contained in:
2026-09-17 14:29:28 +08:00
parent 1753fcbccb
commit da123bba69
22 changed files with 1784 additions and 17 deletions

View File

@@ -1,5 +1,5 @@
// worker-protocol 演示一次文本规范化任务的真实执行与原消息重报。
// 这是底层协议示例;持续运行、自动续租与优雅退出由后续 Worker 运行器提供。
// 这是底层协议示例;持续运行、自动续租与优雅退出见 examples/worker 的运行器示例。
package main
import (