Skip to content

Release v1.1.22 - #102

Merged
sahil-roe merged 1 commit into
mainfrom
release-sdk-python-1-1-5
Nov 10, 2026
Merged

sahil-roe merged 1 commit into
mainfrom
release-sdk-python-1-1-5

Conversation

@roeai-release-bot

@roeai-release-bot roeai-release-bot Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

This PR updates the Python SDK for release 1.1.22.

Generated from:

  • roe-main release branch 1-1-5
  • roe-main commit f0c6dd519d94649cd2984d45d64faed60e99527e

@greptile-apps

greptile-apps Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 4/5

[Medium impact] The changes affect connection management and agent job-list workflows.

Fix the generated response schema before merging so connection updates can return the new confirmation conflict without crashing.

Fix All in Claude CodeFindings

  1. P1 Confirmation conflicts fail to load ▶
  2. P2 Friendly methods miss lifecycle options ▶

Summary

Releases the SDK as 1.1.22 with connection lifecycle fields and confirmation support.

  • Connection lists and records now carry lifecycle states.
  • Connection updates can ask for confirmation when agents or webhooks use them.
  • Job lists now identify the agent version that ran each job.
  • The SDK package and release notes now say 1.1.22.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[Update connection] --> B{Call path}
    B --> C[Friendly method]
    B --> D[Generated endpoint]
    C --> E[Server returns in-use conflict]
    D --> F[Server returns in-use conflict]
    E --> G[SDK exception preserves error body]
    F --> H[DuplicateConnectionResponse requires existing_connection]
    H --> I[KeyError]
Loading

Reviews (1) · Last reviewed commit: "Release v1.1.22" · Reviewed by Greptile

Comment thread openapi/openapi.yml
Comment on lines +2657 to +2660
description: 'A strict-identity duplicate of this connection already exists
in this organization, post actions still call a write operation this update
removes or renames ({error}), or the update changes calls for agents or
webhooks that use the connection ({error, in_use: true}; resend with confirm_in_use).'

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 Confirmation conflicts fail to load

The new in-use conflict returns {error, in_use: true}, but both PUT and PATCH still read every 409 as DuplicateConnectionResponse. That model requires existing_connection, which this response lacks. Callers using the generated endpoints with client.raw get KeyError instead of the conflict, so they cannot inspect in_use before resending with confirm_in_use.

Describe both conflict shapes in the response schema and regenerate the models and endpoints.

Knowledge Base Used: Generated API integration

Fix in Claude Code

Comment thread openapi/openapi.yml
Comment on lines +7188 to +7189
lifecycle:
$ref: '#/components/schemas/LifecycleEnum'

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Friendly methods miss lifecycle options

The new lifecycle filter and update field are missing from the friendly wrapper contract. client.connections.list(lifecycle="active") and client.connections.update(id, lifecycle="archived") reject the argument. Users must switch to generated endpoint calls to filter active connections or archive and reactivate them.

Add optional lifecycle arguments to list, update, and replace in the wrapper contract and regenerate the friendly methods.

Knowledge Base Used: Wrapper generation

Fix in Claude Code

@roeai-release-bot
roeai-release-bot Bot force-pushed the release-sdk-python-1-1-5 branch from 6d7cc06 to 9d2693e Compare November 10, 2026 00:51
@sahil-roe
sahil-roe merged commit f500eed into main Nov 10, 2026
3 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.

1 participant