Skip to content

Release v1.1.2#59

Open
roeai-release-bot[bot] wants to merge 1 commit into
mainfrom
release-sdk-python-1-0-84
Open

Release v1.1.2#59
roeai-release-bot[bot] wants to merge 1 commit into
mainfrom
release-sdk-python-1-0-84

Conversation

@roeai-release-bot

@roeai-release-bot roeai-release-bot Bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

This PR updates the Python SDK for release 1.1.2.

Generated from:

  • roe-main release branch 1-0-84
  • roe-main commit 802f38bbffd7547eb78552ffbe4ce9557645e87d

@greptile-apps

greptile-apps Bot commented Jun 19, 2026

Copy link
Copy Markdown

Greptile Summary

This automated release PR (v1.1.1 → v1.1.2) makes two substantive changes: it un-deprecates and updates the cancel-all agent jobs endpoint from a 204 no-content response to a 200 with a new AgentJobCancelAllResponse body, and it strips most of the high-level SDK wrapper surface from wrappers.yml and the implementation files.

  • AgentJobCancelAllResponse — new model (task_id, targeted_count, note) added correctly; all four generated function signatures (sync, sync_detailed, asyncio, asyncio_detailed) updated consistently.
  • Wrapper removalTablesAPI is reduced to upload-only; ConnectionsAPI and ConnectorsAPI are removed from the client registry; the full agents, policies, and users wrapper namespaces are also dropped. This is a significant breaking change shipped under a patch version number.

Confidence Score: 3/5

The cancel-all endpoint update is clean, but the sweeping removal of TablesAPI methods and entire API namespaces will break existing integrations without warning.

The cancel-all endpoint update is correct and all four generated function variants are updated consistently. The main concern is the mass removal of previously public API surface — five TablesAPI methods, ConnectionsAPI, ConnectorsAPI, and the agents/policies/users wrapper namespaces — delivered under a patch version number that users would not expect to contain breaking changes.

src/roe/api/tables.py and src/roe/api/_generated_registry.py carry the most risk; openapi/wrappers.yml reflects the full scope of what was dropped.

Important Files Changed

Filename Overview
src/roe/api/tables.py Removes 5 of 6 public methods (list, query, query_result, describe, preview, delete), leaving only upload — a breaking change for any existing callers.
src/roe/api/_generated_registry.py Removes ConnectionsAPI and ConnectorsAPI from the generated registry, making client.connections.* and client.connectors.* unavailable.
openapi/wrappers.yml Removes ~900 lines of wrapper definitions for agents, connections, connectors, policies, and users namespaces, plus several tables operations — drastically reducing the SDK's high-level API surface.
src/roe/_generated/api/agents/agents_jobs_cancel_all_create.py Updated from deprecated 204-no-content response to 200 with AgentJobCancelAllResponse; all four exported functions correctly updated.
src/roe/_generated/models/agent_job_cancel_all_response.py New model for the cancel-all response; attrs-based pattern matches other models in the package.
openapi/openapi.yml Un-deprecates cancel-all endpoint and changes its response from 204 to 200 with AgentJobCancelAllResponse; drops explicit 403/404 error schemas (now handled via UnexpectedStatus).
pyproject.toml Version bump from 1.1.1 to 1.1.2.

Sequence Diagram

%%{init: {'theme': 'neutral'}}%%
sequenceDiagram
    participant Caller
    participant TablesAPI
    participant GeneratedClient
    participant RoeAPI

    Note over Caller,RoeAPI: v1.1.2 - cancel-all now returns JSON body

    Caller->>GeneratedClient: "agents_jobs_cancel_all_create.sync(agent_id=...)"
    GeneratedClient->>RoeAPI: "POST /v1/agents/{agent_id}/jobs/cancel-all/"
    RoeAPI-->>GeneratedClient: "200 { task_id, targeted_count, note }"
    GeneratedClient-->>Caller: AgentJobCancelAllResponse

    Note over Caller,RoeAPI: v1.1.2 - tables API reduced to upload only

    Caller->>TablesAPI: upload(...)
    TablesAPI->>GeneratedClient: upload_table(...)
    GeneratedClient->>RoeAPI: POST /v1/tables/upload/
    RoeAPI-->>GeneratedClient: 200 TableUploadResponse
    GeneratedClient-->>TablesAPI: Response
    TablesAPI-->>Caller: TableUploadResponse
Loading
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
sequenceDiagram
    participant Caller
    participant TablesAPI
    participant GeneratedClient
    participant RoeAPI

    Note over Caller,RoeAPI: v1.1.2 - cancel-all now returns JSON body

    Caller->>GeneratedClient: "agents_jobs_cancel_all_create.sync(agent_id=...)"
    GeneratedClient->>RoeAPI: "POST /v1/agents/{agent_id}/jobs/cancel-all/"
    RoeAPI-->>GeneratedClient: "200 { task_id, targeted_count, note }"
    GeneratedClient-->>Caller: AgentJobCancelAllResponse

    Note over Caller,RoeAPI: v1.1.2 - tables API reduced to upload only

    Caller->>TablesAPI: upload(...)
    TablesAPI->>GeneratedClient: upload_table(...)
    GeneratedClient->>RoeAPI: POST /v1/tables/upload/
    RoeAPI-->>GeneratedClient: 200 TableUploadResponse
    GeneratedClient-->>TablesAPI: Response
    TablesAPI-->>Caller: TableUploadResponse
Loading

Comments Outside Diff (1)

  1. openapi/openapi.yml, line 61 (link)

    P2 Empty response description

    The 200 response for cancel-all has description: ''. OpenAPI 3 requires the description field to be present and non-empty. Some tooling (validators, documentation generators) will flag or reject an empty string here; a short description such as "Jobs targeted for cancellation" would satisfy the spec.

    Fix in Claude Code

Fix All in Claude Code

Reviews (1): Last reviewed commit: "Release v1.1.2" | Re-trigger Greptile

Comment thread src/roe/api/tables.py
@@ -145,73 +122,6 @@ def _as_generated_file(
False,

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Breaking public API removal in a patch release

TablesAPI loses five methods (list, query, query_result, describe, preview, delete) and ConnectionsAPI/ConnectorsAPI are removed from the client registry entirely. Any caller on 1.1.1 that invokes client.tables.list(), client.tables.query(...), client.connections.*, or client.connectors.* will get an AttributeError after upgrading to 1.1.2 — a patch version that conventionally signals only backward-compatible fixes. The same pattern applies to the full agents, policies, and users wrapper namespaces removed from wrappers.yml. If this is intentional, a major version bump is the correct signal to consumers.

Fix in Claude Code

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.

1 participant