Skip to content

test: pin automation presets to SDK PR SHA - #398

Closed
malhotra5 wants to merge 1 commit into
mainfrom
test/pin-sdk-structured-finish-sha
Closed

malhotra5 wants to merge 1 commit into
mainfrom
test/pin-sdk-structured-finish-sha

Conversation

@malhotra5

Copy link
Copy Markdown
Member

This PR was created by an AI agent (OpenHands) on behalf of the user.

Why

Temporarily pin automation preset sandbox installs to the latest head SHA from OpenHands/software-agent-sdk#4691 so the structured FinishTool remote-conversation fix can be tested before an SDK release.

Summary

  • Pins both prompt and plugin preset setup.sh scripts to da3389c8b4864316152f06fef6fbe193ffd95492.
  • Installs openhands-sdk, openhands-tools, and openhands-workspace from that software-agent-sdk commit.
  • Keeps the PyPI /sdk-version install path available when the temporary SHA pin is removed.

Testing

bash -n openhands/automation/presets/prompt/setup.sh
bash -n openhands/automation/presets/plugin/setup.sh
uv run pytest tests/test_preset_router.py::TestPresetFileSyntax::test_prompt_preset_setup_sh_exists tests/test_preset_router.py::TestPresetFileSyntax::test_plugin_preset_setup_sh_exists tests/test_preset_router.py::TestPresetFileSyntax::test_prompt_setup_sh_fetches_sdk_version_from_api tests/test_preset_router.py::TestPresetFileSyntax::test_plugin_setup_sh_fetches_sdk_version_from_api -q
uv run pre-commit run --files openhands/automation/presets/prompt/setup.sh openhands/automation/presets/plugin/setup.sh

Also smoke-tested the prompt setup script with a fake uv binary and no AUTOMATION_API_URL; it skipped /sdk-version and selected the pinned GitHub SHA install path.

Notes

This is intended as a temporary testing PR and should be reverted or updated once the SDK fix is released.

@malhotra5 can click here to continue refining the PR

Co-authored-by: openhands <openhands@all-hands.dev>
@all-hands-bot

Copy link
Copy Markdown
Contributor

👋 This PR needs a couple of things fixed before OpenHands can review it:

  • the PR description's HUMAN: section needs at least 20 characters describing what you tested, not just the template placeholder

Push an update once this is addressed and this check re-runs automatically.

This is an automated check - no AI was used to generate this comment.

@github-actions github-actions Bot added the type: test Adding or fixing tests label Aug 28, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Coverage

@malhotra5 malhotra5 closed this Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: test Adding or fixing tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants