Skip to content

Rustybin 0.6.0: more from an instance

Choose a tag to compare

@oliwynn oliwynn released this 07 Nov 15:52
· 69 commits to main since this release

Nothing to do when upgrading: everything new is off until you turn it on or use it.

New:

  • A spec from a URL. spec_url on a create, --spec-url on the CLI and Or fetch it in the new mock dialog. It needs mocks.write and a host named in RUSTYBIN_EGRESS_ALLOW (purpose spec_fetch, no default), so never a visitor's. See A spec from a URL.
  • A push webhook for source control. POST /_rustybin/git/webhook pulls at once, signed, and answers 404 until git.webhook_secret is set. See A webhook instead of polling.
  • OAuth on a mock's own MCP server. mcp.oauth answers 401 with protected resource metadata, to try a client's sign-in. See Security.
  • Stateful visitor mocks, behind RUSTYBIN_MOCKS_SELF_SERVICE_STATEFUL, at most 50 items and 64 KiB per mock. Off by default.
  • For the harness: a leader that steps aside before maintenance with the run still on, a recording as a scenario's source from a HAR file or saved captures, without its credentials, and a finished run's metrics sent to an OpenTelemetry collector.
  • rustybin egress check <url> and GET /_rustybin/egress/check: what the outbound policy would say to a URL, without calling it. Also Check a URL on the Network tab.
  • Suggestions for the style of generated examples, and Generate more on an operation.

Changed:

  • GET /_rustybin/mocks/export writes a version 2 document with only the mocks section. It applies as before.

The full list 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.6.0.

The image

ghcr.io/coldbathcode/rustybin:0.6.0
ghcr.io/coldbathcode/rustybin@sha256:492000348f22ebb73cd6197de2a07ea6bfc9a363b606b33dcf25b535e29cceb3

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

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