Skip to content

Release v1.1.0#51

Merged
jadenfix merged 6 commits into
mainfrom
release-sdk-python-1-0-83
Jun 12, 2026
Merged

Release v1.1.0#51
jadenfix merged 6 commits into
mainfrom
release-sdk-python-1-0-83

Conversation

@roeai-release-bot

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

Copy link
Copy Markdown
Contributor

This PR updates the Python SDK for release 1.0.804.

Generated from:

  • roe-main release branch 1-0-83
  • roe-main commit 545d2154d6962977a67e36ad2efdc296f41e3b8f

@greptile-apps

greptile-apps Bot commented Jun 6, 2026

Copy link
Copy Markdown

Greptile Summary

This PR releases v1.0.804 of the Roe Python SDK, regenerated from a corrected OpenAPI spec that fixes contract mismatches on several endpoints and adds typed 404 error responses for connections/retrieve and connections/destroy.

  • Model renames: Several generated models drop the redundant _Request suffix (e.g., AgentExecutionRequestRequestAgentExecutionRequest), and previously missing connection/connector/table models are now generated and exported.
  • New endpoints: Full connections CRUD (connections_retrieve, connections_destroy, etc.) and connectors (connectors_retrieve, connectors_retrieve_by_type) are now generated as standalone modules with sync/asyncio convenience wrappers.
  • AgentJobSingleStatus: The single-job status endpoint now uses a dedicated model (AgentJobSingleStatus) distinct from the batch AgentJobStatus; Job.wait() in job.py is updated to consume this new model.

Confidence Score: 5/5

Safe to merge — generated client is a clean regeneration from a corrected spec, hand-written wrappers correctly consume the renamed models, and the new AgentJobSingleStatus / JobBatch caching paths are well-covered by new unit tests.

All hand-written wrapper changes are straightforward renames tracking the generated model renames. The new connections/retrieve and connections/destroy files are correctly structured with all four convenience wrappers present. The split between AgentJobSingleStatus and AgentJobStatus is coherent with the spec and both paths are tested. No logic regressions or missing error-handling paths were found.

No files require special attention.

Important Files Changed

Filename Overview
src/roe/models/job.py Updated to use new AgentJobSingleStatus for single-job status polling; JobBatch caching logic and retrieve_status() look correct
src/roe/api/agents.py Hand-written wrapper updated for renamed generated models; all imports aligned with new generated module names
src/roe/_generated/api/connections/connections_retrieve.py New generated file; typed 404 response via ErrorDetailResponse, all four convenience wrappers present
src/roe/_generated/api/connections/connections_destroy.py New generated file; 204/400/404/500 responses fully typed; all four wrappers present
src/roe/_generated/models/agent_job_single_status.py New dedicated model for single-job status; status and timestamp are required non-nullable int/float fields matching spec
src/roe/_generated/models/init.py Mass addition of newly generated models; all new classes exported via all; removed stale _Request suffix variants
tests/unit/test_agents_wrapper_transport.py New and updated unit tests covering idempotency key, batch result parsing, metadata serialization; all using new model names
tests/unit/test_job_batch_status.py New tests for batch status parsing including null-status (pending) handling, float timestamp passthrough, and caching behavior

Reviews (2): Last reviewed commit: "Remove null-UUID and metadata shims; dec..." | Re-trigger Greptile

Comment thread src/roe/_generated/api/connections/connections_destroy.py
Comment thread src/roe/_generated/api/connections/connections_create.py
@roeai-release-bot roeai-release-bot Bot force-pushed the release-sdk-python-1-0-83 branch from cb25121 to c4d299c Compare June 9, 2026 23:42
@jadenfix jadenfix marked this pull request as draft June 10, 2026 00:58
@jadenfix

Copy link
Copy Markdown
Contributor

@greptile review

@jadenfix jadenfix marked this pull request as ready for review June 10, 2026 16:53
@roeai-release-bot roeai-release-bot Bot force-pushed the release-sdk-python-1-0-83 branch from 78b99c0 to a78352b Compare June 10, 2026 18:30
@jadenfix jadenfix changed the title Release v1.0.804 Release v1.1.0 Jun 11, 2026
jadenfix and others added 3 commits June 11, 2026 14:20
…atus

The v1.1.0 regen repurposed AgentJobStatus into the batch-item shape with a
required "id" field, but GET /v1/agents/jobs/{job_id}/status/ returns
AgentJobSingleStatus ({status, timestamp, error_message?}) with no id. The
hand-written wrapper still parsed with AgentJobStatus, so every
retrieve_status() call — including Job.wait()/poll loops — crashed with
KeyError: 'id'. Verified live against the local stack (56/56 SDK ops pass).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@jadenfix jadenfix merged commit 6fa5500 into main Jun 12, 2026
2 checks passed
@jadenfix jadenfix deleted the release-sdk-python-1-0-83 branch June 12, 2026 17:08
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.

3 participants