Release v1.1.7 - #69
Conversation
Greptile SummaryThis release adds connection-list ordering, exposes credential-configuration state on connection models, and updates the SDK release metadata. Two issues need correction before merging: the focused create, update, and replace transport tests fail because their shared response fixture omits the newly required Validation reproduced all three response-parsing failures and confirmed that the generated endpoint sends Confidence Score: 3/5Not safe to merge until the broken connection-response test fixtures and missing public ordering parameter are corrected. Two independent user-visible problems were reproduced: three core connection mutation test paths fail while parsing their response fixture, and the newly added ordering capability is inaccessible through the public SDK facade. Files Needing Attention: tests/unit/test_connections_wrapper_transport.py needs its shared response fixture updated; src/roe/api/connections.py needs to accept and forward ordering. src/roe/_generated/models/connection.py defines the required field that triggers the fixture parsing failure.
What T-Rex did
|
|
|
||
| name = d.pop("name") | ||
|
|
||
| credentials_configured = d.pop("credentials_configured") |
There was a problem hiding this comment.
Connection response fixture omits credential state
Connection.from_dict() now requires credentials_configured, but the shared _connection_json() fixture used by the create, update, and replace transport tests does not provide it. Each response is therefore rejected with KeyError before its transport assertions complete. Update the fixture to include the required response field so these regression tests pass against the new model contract.
Artifacts
Focused connection wrapper test failures when credentials_configured is absent
- Ran the requested uv pytest command against the existing fixture; it captures three KeyError failures at the unconditional credentials_configured pop, confirming the bug.
The hand-written response fixtures behind the connections and agents wrapper transport tests have drifted from the generated models. Three roe-main changes added read-only-but-required serializer fields that nothing downstream backfilled: #3758 dynamic_inputs, dynamic_input_test_disabled_reason #3837 credentials_configured #3701 BaseAgent.updated_at Connection.from_dict / BaseAgent.from_dict pop required keys with no default, so each addition turned into a KeyError. main has been red on these same four tests since #68 merged on 2026-07-29 (run 30493974267); this PR did not introduce the failure, it only changed which missing key raises first, because credentials_configured is popped before dynamic_inputs. Fixing it in this branch rather than separately so #69 merges green — publish.yml is `on: push tags v*` with no test step and no needs: on CI, so a red merge would tag v1.1.7 and ship an untested tree to PyPI. Only the response fixtures change. The expected request-body literal in test_connection_create_... is deliberately untouched: these are read-only fields the client never sends. tests/ is outside the python target's diff_paths and outside check-codegen-drift, so the fan-out will not clobber this. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The hand-written response fixtures behind the connections and agents wrapper transport tests have drifted from the generated models. Three roe-main changes added read-only-but-required serializer fields that nothing downstream backfilled: #3758 dynamic_inputs, dynamic_input_test_disabled_reason #3837 credentials_configured #3701 BaseAgent.updated_at Connection.from_dict / BaseAgent.from_dict pop required keys with no default, so each addition turned into a KeyError. main has been red on these same four tests since #68 merged on 2026-07-29 (run 30493974267); this PR did not introduce the failure, it only changed which missing key raises first, because credentials_configured is popped before dynamic_inputs. Fixing it in this branch rather than separately so #69 merges green — publish.yml is `on: push tags v*` with no test step and no needs: on CI, so a red merge would tag v1.1.7 and ship an untested tree to PyPI. Only the response fixtures change. The expected request-body literal in test_connection_create_... is deliberately untouched: these are read-only fields the client never sends. tests/ is outside the python target's diff_paths and outside check-codegen-drift, so the fan-out will not clobber this. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
24df7a6 to
86e4378
Compare
b7a4cb6 to
26a227b
Compare
This PR updates the Python SDK for release
1.1.7.Generated from:
1-0-9152d983a0c8ce72b6704d039d0b089f386a02a6e8