auto-sync: 2026-06-05 20:15:00 (catch-all)

This commit is contained in:
cfdaily
2026-06-05 20:15:00 +08:00
parent f89ee56f48
commit f77976b08f
@@ -205,10 +205,15 @@ if cls.get("cooldown_seconds"):
**方案**:在 `_do_retry` 开始时设 cooldowncooldown 期间 `asyncio.sleep`,然后继续 spawn。这样不需要改 counter 逻辑。
### 3.7 stderr 记录增强 — 暂缓
### 3.7 stderr 记录增强 — 已实施(2026-06-05
stderr_preview 和 exit_signal 写 metadata 的方案暂缓,本轮不实施。
已有 metadata 记录 fallback_count、api_retry_count、retry_count 等计数器。
非正常完成(outcome ≠ completed)时,在 task_attempts metadata 中追加:
- `stderr_preview`stderr 末尾 1000 字符(tail,关键错误在末尾)
- `exit_signal`:信号名映射(SIGINT/SIGKILL/SIGTERM/SIGFPE/SIGSEGV),仅 exit_code > 128 时
不改表结构,不存文件。`log_path` 字段保留但未启用。
评审:司马懿通过。
## 4. Registry 清理 — 最终决策:逻辑删除 + 归档,不做物理删除