Skip to content

Rustybin 0.7.0: new features for gateway demos

Latest

Choose a tag to compare

@oliwynn oliwynn released this 13 Nov 03:52
· 24 commits to main since this release

Everything built since 0.6.0: new features for gateway demos, and the last of the roadmap's candidates with their follow-ups.

Upgrading from 0.6

Nothing to do for most instances: what is new is off until you turn it on or name it. What an operator or a script may notice:

  • A change of reach. A signed-in user without secrets.write now gets 200 from GET /_rustybin/secret-requests (the requests of their own agents, possibly none) and may read and decline those; it was 403. Another user's request is 404, fulfilling is unchanged, and callers who are not users see no change. A script that read the 403 as "may not read requests" reads /_rustybin/session instead.
  • A document pulled from the repository no longer changes a git.* setting (a fix; a repository that relied on it sets them on the instance instead).
  • Settings under oauth. need settings.security.
  • A harness scenario with servers.chain needs every server node on 0.7.0. A chain hop with http: h3 needs the -http3 image on every server node.
  • Verified pulls are off until git.verify is turned on, and turning it on trusts the head of that moment: connect the repository first. Teams that squash or rebase pull requests at the git host switch to merge commits, or push signed commits, before turning it on.
  • An instance whose repository is on github.com or gitlab.com with a token as its authentication can open a pull request with that token once a caller asks with open: true; nothing calls a host before that.
  • The default image has no HTTP/3; the image tagged 0.7.0-http3 has.

New

For gateway demos:

  • AI gateway scenarios: token limits, model fallback, semantic caching, prompt and response guards and load balancing, each proven against the instance's AI mock.
  • MCP security: attack servers, six MCP gateway scenarios against them and three inspector checks.
  • A mock recorded from a real API: a recording proxy, a spec inferred from the traffic, the answers as examples.
  • Contract drift: a mock checked against the real API it imitates, as JSON or JUnit.
  • Demo storyboards: a demo as steps with a talk track, an action and a reset, presented from the console and rehearsed from the command line.
  • Customer demo packs: a customer's demo as one document, applied into a project of its own and torn down as a unit.
  • Multi-step tests and Arazzo workflows: a test of several steps with outputs passed on, imported from and exported to Arazzo 1.0.
  • Realtime and batch AI APIs: the OpenAI-shaped realtime WebSocket protocol, and batch jobs in the OpenAI and Anthropic shapes on a compressed clock.
  • Event mocks from AsyncAPI: an AsyncAPI 2.x or 3.0 document as a mock whose channels are served over WebSocket, server-sent events and webhooks, with valid messages published and what clients publish validated.

Source control:

  • A diverged branch resolved by a person, branches per environment and signed commits.
  • Verified pulls: with git.verify on, the instance takes the repository's side only when an allowed signer signed every commit since the last verified head (SSH signatures, git 2.38 or later). A merge commit passes unsigned only as the clean merge of two verified parents.
  • A pull request opened by the git host: resolve with pull_request takes open: true for GitHub and GitLab and their self-hosted variants. The instance never merges one. The two hosts' APIs were tested against stand-ins, not the real hosts.

Agents and the MCP inspector:

  • A secret at an agent's request: an agent asks for a secret to be set, a person fulfils or declines (with an optional note), and the value never passes through a tool. Off by default.
  • An agent's sign-in from the command line: rustybin login --agent.
  • Client ID metadata documents: the inspector signs in to an MCP server with its own client document, with no registration call, and a new check reports whether a server takes it. The control plane's own OAuth sign-in accepts a client's document too when oauth.client_metadata_documents is on (off by default, no default allowlist).

Load test mode:

  • Import from other tools: Postman collections and Artillery scripts, with the variables a collection's environment held given by the caller.
  • HTTP/3 targets and server-to-server chains, a chain hop over HTTP/3 included, and a Prometheus series for a chain's onward calls.
  • An image with HTTP/3: a second image carries the suffix -http3 on every tag. The default image has no QUIC stack.

The full list, with what changed and what was fixed, is in the changelog.

Install

Release binaries for Linux and macOS (x86_64 and arm64) are attached below, each with a .sha256. Or cargo install --locked --git https://github.com/coldbathcode/rustybin --tag v0.7.0.

The images

ghcr.io/coldbathcode/rustybin:0.7.0
ghcr.io/coldbathcode/rustybin@sha256:84663e342a16caf8a9fea08a9288cffc14673a708db6b33af3b3ed2da35f229b

ghcr.io/coldbathcode/rustybin:0.7.0-http3
ghcr.io/coldbathcode/rustybin@sha256:ccd4d92597c4a23baec6833347e54ae97a41ac774bc9bea9bd5ff298f6a0b0b1

Both are multi-arch (linux/amd64, linux/arm64) and signed with cosign (keyless, using the publishing workflow's GitHub identity). Verify an image before you run or deploy it, and pin deployments to the digest:

cosign verify ghcr.io/coldbathcode/rustybin@sha256:84663e342a16caf8a9fea08a9288cffc14673a708db6b33af3b3ed2da35f229b \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com \
  --certificate-identity-regexp '^https://github.com/coldbathcode/rustybin/'

The second image is the same build with HTTP/3 for load tests of an HTTP/3 gateway; verify it the same way with its own digest.