fix(ci): catch up with openhands-sdk v1.22.0 import path changes#235
Merged
Conversation
- `Skill`: moved from `openhands.sdk.context.skills` to `openhands.sdk.skills` - `Marketplace` / `MarketplacePluginEntry`: moved from `openhands.sdk.plugin` to `openhands.sdk.marketplace` - `load_project_skills`: moved from `openhands.sdk.context.skills` to `openhands.sdk.skills` (fixes qa-changes + release-notes plugins) - Regenerate `skills/openhands-sdk/SKILL.md` (two new SDK examples added upstream: `49_switch_llm_tool.py`, `13_workspace_get_llm.py`) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
all-hands-bot
approved these changes
May 13, 2026
Contributor
all-hands-bot
left a comment
There was a problem hiding this comment.
🟢 Good taste - Clean surgical fix for SDK v1.22.0 import path changes.
[RISK ASSESSMENT]
- [Overall PR]
⚠️ Risk Assessment: 🟢 LOW
This PR fixes broken CI by updating import paths to match upstream SDK refactoring. Changes are minimal, surgical, and well-tested (259 tests passing vs 246 + 13 errors before). Evidence is strong with sync script validation clean. No security concerns, no new breaking changes introduced - this restores compatibility with SDK v1.22.0.
VERDICT:
✅ Worth merging: Solves real production problem (broken CI on main) with minimal, correct changes.
KEY INSIGHT:
Textbook maintenance PR - surgical import fixes backed by comprehensive test coverage and validation.
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.
Summary
CI on
mainis broken because SDK v1.22.0 moved a few imports. Each plugin / test was hitting the old paths. Surgical 1-line import fixes plus a regenerated SDK skill file.Skill:openhands.sdk.context.skills→openhands.sdk.skills(test only)Marketplace,MarketplacePluginEntry:openhands.sdk.plugin→openhands.sdk.marketplaceload_project_skills:openhands.sdk.context.skills→openhands.sdk.skills(qa-changes + release-notes plugins)skills/openhands-sdk/SKILL.mdregenerated viapython scripts/sync_openhands_sdk_skill.py— picks up two new SDK examples (49_switch_llm_tool.py,13_workspace_get_llm.py)Blocks #234 (and any other PR currently red on these jobs).
Test plan
uv run --group test pytest tests/— 259 passed (was 246 + 13 errors onmain).python scripts/sync_openhands_sdk_skill.py --check— clean.🤖 Generated with Claude Code