Skip to content

Add shared timeout budgets to agent chains#402

Open
yxlyx wants to merge 1 commit intomainfrom
fix/timeout-budgets-post-400
Open

Add shared timeout budgets to agent chains#402
yxlyx wants to merge 1 commit intomainfrom
fix/timeout-budgets-post-400

Conversation

@yxlyx
Copy link
Copy Markdown
Collaborator

@yxlyx yxlyx commented Apr 4, 2026

Summary

  • preserve the post-fix: heartbeat keepalive for MCP bridge timeouts (#396, #397) #400 heartbeat keepalive loop while fixing detached-worker ownership in runChainStep
  • add timeout_seconds support for run_explorer and run_task
  • enforce a shared total timeout budget across run_task chain steps, with explicit skip behavior when intermediate steps time out
  • add timeout-focused source tests for budgeting and timeout payload helpers

Notes

Testing

  • zig fmt --check src/tools.zig
  • source-level review via devswarm_run_explorer confirmed keepalive + shared-budget logic are internally consistent
  • full local zig build test remains blocked on this machine by the existing macOS Zig linker environment

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