Repository navigation
fix(agent-server): align hybrid UUID routing - #6125
Merged
VascoSch92 merged 1 commit intoOct 21, 2026
Merged
Conversation
Parse path IDs with the same UUID rules as the typed routes. Route alternate valid forms to Docker and leave invalid values for normal route validation. Co-authored-by: openhands <openhands@all-hands.dev>
Fieldnote-Echo
marked this pull request as ready for review
October 21, 2026 14:27
VascoSch92
approved these changes
Oct 21, 2026
VascoSch92
enabled auto-merge (squash)
October 21, 2026 14:29
Contributor
|
🧹 PR Artifact Cleanup Queued The |
12 tasks
VascoSch92
pushed a commit
that referenced
this pull request
Oct 21, 2026
Co-authored-by: openhands <openhands@all-hands.dev> (cherry picked from commit 6cb7424)
5 tasks
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.
HUMAN:
This follow-up to #5977 keeps selectable Docker conversations on their selected runtime for every UUID form that the API accepts.
AGENT:
Why
Follow-up to #5977. Selectable runtime dispatch used a narrower UUID grammar than the typed FastAPI routes. Braced and URN forms resolved to a Docker conversation in FastAPI, but the middleware left those requests on the local route.
Summary
Issue Number
Fixes #6124
How to Test
uv run pytest -q tests/agent_server/docker_runtime/test_hybrid.py -k dispatch-> 12 passed, 2 deselected.uv run pre-commit run --files openhands-agent-server/openhands/agent_server/docker_runtime/hybrid.py tests/agent_server/docker_runtime/test_hybrid.py-> passed.Video/Screenshots
Not applicable. This change affects request routing only.
Design Doc
Not needed. The change aligns two existing parsers and does not change the public API.
Type
Notes
This is a release follow-up to #5977. Invalid UUID values still reach normal FastAPI validation, and bare GET and HEAD requests still use the shared catalog route.