Skip to content

fix(agent-run): add async submit and polling to avoid gateway timeouts - #98

Merged
zeekay merged 1 commit into
mainfrom
fix/carbon-district-async-run
Nov 26, 2026
Merged

zeekay merged 1 commit into
mainfrom
fix/carbon-district-async-run

Conversation

@zeekay

@zeekay zeekay commented Nov 26, 2026

Copy link
Copy Markdown
Member

Fixes problem-log 3.11: a bot's one-shot run ends with a 524 because the routed job on the linked machine needs 30-70s.

  • --async submits via POST /v1/agent/coding and returns the session id immediately.
  • --async --wait polls the session to a terminal state; --timeout bounds the wait.
  • Default behavior is unchanged.

Validation: 461 unit tests + 1 shipped-binary argv test pass; clippy clean.

--async submits via POST /v1/agent/coding and returns the session id
--async --wait polls the session to a terminal state, with --timeout
default behavior stays the synchronous run


Co-authored-by: Hanzo Dev <[email protected]>
@zeekay
zeekay merged commit 80780c0 into main Nov 26, 2026
1 check passed
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