chore: keep agent run worker alive during gray rollout
This commit is contained in:
@@ -174,6 +174,8 @@ bash /Users/john/Project/Memind/scripts/install-agent-run-worker-agent.sh
|
||||
MEMIND_AGENT_RUN_WORKER_EXPECT_RUNNING=1 node /Users/john/Project/Memind/scripts/check-agent-run-worker.mjs
|
||||
```
|
||||
|
||||
The worker LaunchAgent must have `KeepAlive=true` during all-user gray so a clean worker exit does not leave code-run queue processing stopped.
|
||||
|
||||
8. Submit only code runs with validation metadata.
|
||||
|
||||
Required user message metadata:
|
||||
|
||||
@@ -2099,7 +2099,7 @@ installer 默认行为:
|
||||
- `/Users/john/Library/LaunchAgents/cn.tkmind.memind-agent-run-worker.plist`
|
||||
- 默认:
|
||||
- `RunAtLoad=false`
|
||||
- `KeepAlive=false`
|
||||
- `KeepAlive=true`
|
||||
- `launchctl disable`
|
||||
- 不 `kickstart`
|
||||
- 默认环境:
|
||||
@@ -2640,6 +2640,7 @@ runtime/status:
|
||||
备份:
|
||||
|
||||
- `/Users/john/Project/memind_backups/20260702-114335-p615-validation-metadata`
|
||||
- worker KeepAlive 运维补强备份: `/Users/john/Project/memind_backups/20260702-115330-worker-keepalive`
|
||||
|
||||
## 回滚策略
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ cat > "$PLIST" <<EOF
|
||||
<key>RunAtLoad</key>
|
||||
<false/>
|
||||
<key>KeepAlive</key>
|
||||
<false/>
|
||||
<true/>
|
||||
<key>ThrottleInterval</key>
|
||||
<integer>10</integer>
|
||||
<key>StandardOutPath</key>
|
||||
|
||||
Reference in New Issue
Block a user