OpenHands / OpenHands/software-agent-sdk

Recover a conversation after the TypeScript client loses its create response

Open
#5,035 1 comment 0 reactions 1 assignee View on GitHub

@neubig is already working on this.

Since Sep 14, 2026.

enhancement javascript sdk
Dominant language
Python
Stars
1.1k
Forks
542
Avg merge
1d 19h
Merged PRs (30d)
137

Description

A conversation creation POST can succeed on the server while the TypeScript client loses its response or times out during startup. The caller then sees a failure even though the initial message may already have run; repeating the POST can repeat work.

Acceptance criteria:

  • When the caller supplied a conversation ID and the POST fails without an HTTP response, reconcile through bounded GET requests for that ID.
  • Never replay the creation POST or its initial message.
  • Preserve explicit HTTP failures and the original transport failure if reconciliation cannot succeed; stop on authorization errors.
  • Cover dropped responses and delayed creation using a real HTTP server.

Extracted from #4966 so response recovery can be reviewed independently of conversation-scoped runtime routing. Ready for development.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.