Skip to content

fix(ci): catch up with openhands-sdk v1.22.0 import path changes#235

Merged
simonrosenberg merged 1 commit into
mainfrom
fix-ci-sdk-version-drift
May 13, 2026
Merged

fix(ci): catch up with openhands-sdk v1.22.0 import path changes#235
simonrosenberg merged 1 commit into
mainfrom
fix-ci-sdk-version-drift

Conversation

@simonrosenberg
Copy link
Copy Markdown
Contributor

Summary

CI on main is 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.skillsopenhands.sdk.skills (test only)
  • Marketplace, MarketplacePluginEntry: openhands.sdk.pluginopenhands.sdk.marketplace
  • load_project_skills: openhands.sdk.context.skillsopenhands.sdk.skills (qa-changes + release-notes plugins)
  • skills/openhands-sdk/SKILL.md regenerated via python 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 on main).
  • python scripts/sync_openhands_sdk_skill.py --check — clean.

🤖 Generated with Claude Code

- `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>
Copy link
Copy Markdown
Contributor

@all-hands-bot all-hands-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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.

@simonrosenberg simonrosenberg self-assigned this May 13, 2026
@simonrosenberg simonrosenberg merged commit 59aa94a into main May 13, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants