Skip to content

workflows: settled run details 缺少独立 retention bound #178

Description

@tt-a1i

问题

Workflow 的 settled details 会同时驻留于运行时集合和持久化 artifacts,但缺少一个独立、明确、可配置/可证明的 retention bound。长 Session 连续运行大量 Workflow 时,已完成 run 的 details、agent 列表、logs 和 graph projection 可持续累积。

这与 active-run 并发限制无关:并发有界不代表终态历史有界。

期望

  • 明确 canonical persisted history 与 session-memory projection 的不同保留策略;
  • settled in-memory runs 有 count/byte/age 至少一种硬上限;
  • eviction 不影响 pending completion delivery、run suffix ambiguity、安全 resume 或当前请求 dashboard;
  • 磁盘 retention/清理另有可观察合同,不静默删除唯一 artifacts;
  • 压力测试连续完成大量包含 agents/logs 的 runs,证明内存集合有界;
  • operator 能看到 omitted/evicted 数量,而不是把缺失误报为“不存在”。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions