chore: release main#411
Open
stainless-app[bot] wants to merge 3 commits into
Open
Conversation
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
| { | ||
| ".": "0.13.1", | ||
| ".": "0.14.0", | ||
| "adk": "0.13.1" |
There was a problem hiding this comment.
The new runtime guard is implemented under src/agentex/lib, but the root agentex-client wheel excludes src/agentex/lib/**; those files ship from the agentex-sdk/ADK package instead. This manifest bumps only the root client package while leaving adk at 0.13.1, and the ADK package metadata still points at agentex-sdk 0.13.1, so publishing this release can advertise the startup version guard without publishing the package that contains BaseACPServer, AgentexWorker, or compat.version_guard. Users upgrading the ADK package would still run without the guard. Please release/bump the ADK package for this change as well, and keep its client dependency aligned if it depends on the co-released client version.
Prompt To Fix With AI
This is a comment left during a code review.
Path: .release-please-manifest.json
Line: 3
Comment:
**Release skips ADK**
The new runtime guard is implemented under `src/agentex/lib`, but the root `agentex-client` wheel excludes `src/agentex/lib/**`; those files ship from the `agentex-sdk`/ADK package instead. This manifest bumps only the root client package while leaving `adk` at `0.13.1`, and the ADK package metadata still points at `agentex-sdk` `0.13.1`, so publishing this release can advertise the startup version guard without publishing the package that contains `BaseACPServer`, `AgentexWorker`, or `compat.version_guard`. Users upgrading the ADK package would still run without the guard. Please release/bump the ADK package for this change as well, and keep its client dependency aligned if it depends on the co-released client version.
How can I resolve this? If you propose a fix, please make it concise.be400b9 to
d24cd19
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
✨ Stainless prepared a new release
agentex-client: 0.14.0
0.14.0 (2026-06-18)
Full Changelog: agentex-client-v0.13.1...agentex-client-v0.14.0
Features
This pull request is managed by Stainless's GitHub App.
The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.
For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.
🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions
Greptile Summary
This release (v0.14.0) adds a runtime SDK↔backend contract-version guard that runs once at ACP server/worker startup, fetches
/openapi.jsonfrom the configured backend, and raisesIncompatibleBackendErrorif the backend is older thanMIN_BACKEND_CONTRACT— replacing silent 500s with an actionable startup failure.compat/version_guard.py: Full SemVer parser with prerelease precedence (§11), anassert_backend_compatibleasync function that warns-and-proceeds on unreachable/unparseable backends and only fails hard on a known incompatible version, and anAGENTEX_SKIP_VERSION_CHECKescape hatch.BaseACPServer.lifespan_contextandAgentexWorker._register_agent: Guard is invoked beforeregister_agentin both startup paths, so neither path can proceed against an unsupported backend.asyncio_mode = "auto"already configured inpyproject.toml.Confidence Score: 5/5
Safe to merge — the guard only raises when the backend version is definitively known to be older than the floor, and fails open (warns, proceeds) on any uncertainty.
The SemVer parsing and comparison logic is correct and fully exercised by the test suite; the fail-open design on unreachable/unparseable backends prevents false startup failures; and the guard is correctly positioned before registration in both startup paths.
No files require special attention.
Important Files Changed
Sequence Diagram
%%{init: {'theme': 'neutral'}}%% sequenceDiagram participant W as AgentexWorker / BaseACPServer participant G as assert_backend_compatible participant B as Backend (/openapi.json) participant R as register_agent W->>G: assert_backend_compatible(base_url) alt AGENTEX_SKIP_VERSION_CHECK set G-->>W: warn + return (no-op) else base_url unset G-->>W: return (no-op) else G->>B: GET /openapi.json alt network error / non-JSON / missing info.version B-->>G: error or missing field G-->>W: warn + return (proceed) else parseable version returned B-->>G: "{"info": {"version": "x.y.z"}}" G->>G: _parse + _precedence_key comparison alt "backend >= MIN_BACKEND_CONTRACT" G-->>W: log OK + return W->>R: register_agent(env_vars) else "backend < MIN_BACKEND_CONTRACT" G-->>W: raise IncompatibleBackendError Note over W: startup aborted (fail fast) end end end%%{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 W as AgentexWorker / BaseACPServer participant G as assert_backend_compatible participant B as Backend (/openapi.json) participant R as register_agent W->>G: assert_backend_compatible(base_url) alt AGENTEX_SKIP_VERSION_CHECK set G-->>W: warn + return (no-op) else base_url unset G-->>W: return (no-op) else G->>B: GET /openapi.json alt network error / non-JSON / missing info.version B-->>G: error or missing field G-->>W: warn + return (proceed) else parseable version returned B-->>G: "{"info": {"version": "x.y.z"}}" G->>G: _parse + _precedence_key comparison alt "backend >= MIN_BACKEND_CONTRACT" G-->>W: log OK + return W->>R: register_agent(env_vars) else "backend < MIN_BACKEND_CONTRACT" G-->>W: raise IncompatibleBackendError Note over W: startup aborted (fail fast) end end endReviews (2): Last reviewed commit: "chore: release main" | Re-trigger Greptile