fix(gc): compact remote memory pressure plan

This commit is contained in:
Codex
2026-07-17 23:46:27 +02:00
parent 4712f7b2bd
commit 5f0332cb43
5 changed files with 302 additions and 3 deletions
+3 -1
View File
@@ -176,7 +176,9 @@ bun scripts/cli.ts gc remote <node> memory
```
- 顺序约束:
- 先复核 scoped plan,只允许执行其中明确标记安全的内存压力候选
- 默认 scoped plan 必须直接披露 YAML 限量候选摘要和 `runEligibility`,一次输出即可判断
- 只有 `runEligibility.allowed=true` 时才允许执行明确标记安全的内存压力候选;
- `--full` 只用于下钻完整身份明细,不得作为 scoped run 的默认前置步骤;
- `run` 返回 job id 后,重复执行 `status --job-id <id>` 直到终态;
- job 未终态时不得提前执行 `memory` 或重试 WebProbe
- 终态后执行 `memory`,只有 `MemAvailable > 4 GiB` 才可重试人工启动;