add caller-owned openhands agent server sessions - #55
Merged
Conversation
|
Warning Review limit reachedNext included review available in 2 seconds. View limit detailsLimit details: You’ve used all 3 included reviews currently available. Your 78 included PR review attempts over the past 7 days set your current allowance at 3 reviews per hour. Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. Review configuration: ⚙️ Run configurationConfiguration used: Repository YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Advanced Run ID: ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (19)
Comment |
Register accepted connections synchronously and refuse late accepts after shutdown starts. Cancel and await owned handler tasks as well as run tasks so a queued HTTP connection cannot escape the writer snapshot and stall server closure.
twaldin
marked this pull request as ready for review
September 10, 2026 03:38
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Outcome
Add matching Python and TypeScript caller-owned OpenHands Agent Server HTTP/WebSocket sessions, pinned to 1.45.0. Optional dependencies stay lazy; OpenHands is session-only, with no CLI fallback.
Caller boundary
The caller must confirm the server has no unwanted automation callbacks/webhooks. Harness registers none, but cannot inspect or disable server-configured callbacks. Native-server synthetic-provider and authenticated-provider qualification remain NOT RUN / UNQUALIFIED: no caller endpoint or credentials were supplied. No provisioning or global/auth changes.
Validation
81cf980; its merge tree was verified explicitly.afee8aband clean-merge18b2fa6archives: wheel/sdist/npm contents checked; installed Python (65 tests) and isolated Node 22 consumers passed, including missing optionalwsbefore any HTTP request and 35 shared protocol cases plus lifecycle/configuration coverage.afee8ab.Refs TWA-102