Skip to content

fix(graph): recover supervisor context overflow - #1599

Merged
likun666661 merged 3 commits into
mainfrom
agent/1593-supervisor-overflow-recovery
Jul 29, 2026
Merged

likun666661 merged 3 commits into
mainfrom
agent/1593-supervisor-overflow-recovery

Conversation

@likun666661

Copy link
Copy Markdown
Member

Summary

  • classify supervisor context overflows separately from ordinary retryable failures
  • release the failed wake turn, aggressively compact history including the latest oversized turn, then retry once
  • stop repeated identical overflows early and surface a bounded durable partial graph result
  • preserve the existing three-attempt policy for non-overflow failures

Stack

Validation

  • runtime and CLI builds
  • Agent Graph supervisor wake tests (12/12)
  • manual compaction recovery test
  • V2 latest-turn folding regression test
  • Biome lint and diff check

Closes no issue; #1593 remains open until the full stack lands.

@likun666661
likun666661 force-pushed the agent/1593-supervisor-overflow-recovery branch from 301bc20 to affca57 Compare July 29, 2026 09:43
@likun666661
likun666661 changed the base branch from agent/1593-bound-agent-output to main July 29, 2026 12:26
@likun666661
likun666661 marked this pull request as ready for review July 29, 2026 12:26
@likun666661
likun666661 merged commit 41cdab9 into main Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant