chore(spawner): G1 修正注释 — 只检测 precheck
CI / lint (pull_request) Successful in 9s
CI / test (pull_request) Successful in 9s
CI / notify-on-failure (pull_request) Successful in 0s

This commit is contained in:
cfdaily
2026-06-13 07:04:44 +08:00
parent ac3419b284
commit 8956296b08
+1 -1
View File
@@ -1650,7 +1650,7 @@ curl -X POST http://{api_host}:{api_port}/api/projects/{project_id}/tasks/{task_
# 保留为 deprecated 但不再调用。
#
# 逻辑:
# 1. 查 gateway log 最近的 compact 开始标记(overflow/timeout/precheck
# 1. 查 gateway log 最近的 compact 开始标记(precheck route=compact_then_truncate
# 2. 有开始标记 → 查 jsonl 是否有对应的 compaction entry(结束标记)
# 3. 有开始无结束 → 阻塞(recent_compact=True
# 4. 有开始有结束 → 放行