Skip to content

Backport #376 and #379 to release-0.9 for 0.9.18 - #380

Merged
sdrahn merged 3 commits into
release-0.9from
claude/backport-0.9.18
Nov 26, 2026
Merged

sdrahn merged 3 commits into
release-0.9from
claude/backport-0.9.18

Conversation

@sdrahn

@sdrahn sdrahn commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Changes the shared files CONTRACT.md, packaging/suse/custos.spec and .github/workflows/ci.yml.

Cherry-picks (-x) for 0.9.18, both merged on main:

One commit of this branch's own:

Testing

make check and make cockpit-test pass on the branch.


Generated by Claude Code

An agent in OpenShell had a tool call fail with EOF right after
OpenShell closed the sandbox's connections, at a token renewal or when
another sandbox was set up: the call went out on a kept-alive
connection the other end had closed, and the client may not send a
tools/call again (it may have reached the gateway). The gateway client
sends each tools/call through a clone of its transport without
keep-alive, so never on an idle connection; every other request keeps
reusing them. A call cut off while it runs still fails and is never
sent twice.

docs/requirements/mcp-gateway-for-custos-0.10.md records R8 for the
rest: an idempotency key per tools/call, so that a cut-off call may be
sent again and runs once.

Fixes #375

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q3sBGb8stQdHScGf2TGtWJ
(cherry picked from commit 2c4a3ff)
mcp-gateway 1.17.2 answers a tools/call sent again with the same
idempotency key, server, tool and arguments from the first call (R8).
Each tool call from an ADK tool carries its own key, the call's
CallToken (a digest of it where it is longer than the gateway takes or
has a character it refuses), next to the progress token. The gateway
client counts a tools/call with a key among the requests it may send
again when the connection ends without an answer: an agent in OpenShell
whose call is cut off at a token renewal gets its outcome instead of an
error for a call that may have run. A call without a key is still never
sent again. Custos requires mcp-gateway 1.17.2.

Fixes #378

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q3sBGb8stQdHScGf2TGtWJ
(cherry picked from commit 1737eff)
The idempotency keys (#379) need mcp-gateway 1.17.2, so the release
branch's CI builds v1.17.2. #376's fragment said R8 would let the agent
send a cut-off call again; with #379 in the same release it does, and
the fragment says so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q3sBGb8stQdHScGf2TGtWJ
@sdrahn sdrahn mentioned this pull request Nov 26, 2026
@sdrahn
sdrahn merged commit bb8b515 into release-0.9 Nov 26, 2026
34 of 35 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.

2 participants