Skip to content

CI: API breakage checks failing on all PRs due to DockerDevWorkspace.server_image change #2252

@ixchio

Description

@ixchio

Summary

The API breakage checks (Griffe) are failing on all open PRs due to a breaking change that was merged to main in PR #2243.

Root Cause

PR #2243 (fix: override server_image default to None in DockerDevWorkspace) merged on Feb 28 changed the default value of DockerDevWorkspace.server_image:

# Before (v1.11.4 - released version)
# server_image inherited from parent with default='ghcr.io/openhands/agent-server:latest-python'

# After (v1.11.5-dev - current main)
server_image: str | None = Field(
    default=None,  # ← Breaking change
    description="Pre-built agent server image. Mutually exclusive with base_image.",
)

CI Output

Checking openhands-workspace (openhands.workspace)
Comparing openhands-workspace 1.11.5 against 1.11.4
##[warning] Attribute value was changed: 
  Field(default='ghcr.io/openhands/agent-server:latest-python', ...) 
  -> Field(default=None, ...)
##[error] Breaking changes detected (1); require at least minor version bump from 1.11.x, but new is 1.11.5

Impact

Suggested Fix

One of:

  1. Bump version to 1.12.0 to acknowledge the breaking change (recommended if this was intentional)
  2. Update the baseline version if v1.11.4 comparison is no longer valid
  3. Mark this specific check as non-blocking temporarily while addressing the version

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions