Skip to content

chore(deps): bump rift engine to 0.19.0 - #257

Merged
github-actions[bot] merged 2 commits into
masterfrom
chore/engine-0.19.0
Sep 29, 2026
Merged

github-actions[bot] merged 2 commits into
masterfrom
chore/engine-0.19.0

Conversation

@EtaCassiopeia

@EtaCassiopeia EtaCassiopeia commented Sep 29, 2026 •

Copy link
Copy Markdown
Collaborator

SDK fix for a 0.19.0 behaviour change (commit 4a68ca8)

The first run failed RiftGoldenIT.goldenCaptureThenReplay in the REPLAY step. rift 0.19.0 (#1239) made DELETE /imposters/{port}/savedProxyResponses also delete the stubs a proxy recorded (recordedFrom), which matches Mountebank's deleteSavedProxyResponses. The JUnit 5 Reset policy calls clearProxyResponses() before every test. On the @RiftGolden imposter, that call deleted the golden fixture: REPLAY served nothing, and CAPTURE would have kept only the last test method's recordings.

  • RiftTestContext.resetConfiguredImposters() no longer clears proxy responses on the golden imposter. Recorded requests and scenario state are still reset, and other imposters are unchanged.
  • RiftGoldenUnitTest.perTestResetKeepsTheGoldenImpostersRecordedStubs (fake admin) plus RiftGoldenIT, which now runs two tests per fixture (capture accumulates, replay survives reset).
  • Documented in Imposter.clearProxyResponses javadoc and docs/junit5.md. User-visible: on rift >= 0.19.0 a PER_TEST reset now makes a plain record() imposter re-reach its upstream.

Engine verdict: 0.19.0 is correct, so the fix belongs in the SDK.


Bumps the pinned rift engine version from 0.18.1 to 0.19.0 via scripts/bump.sh.

Upstream release notes (achird-labs/rift 0.19.0)

Rift v0.19.0

Rift is a high-performance, Mountebank-compatible HTTP chaos engineering proxy.

Installation

Quick Install (Unix)

# Download and extract (replace TARGET with your platform)
curl -LO https://github.com/achird-labs/rift/releases/download/v0.19.0/rift-v0.19.0-x86_64-unknown-linux-gnu.tar.gz
tar -xzf rift-v0.19.0-x86_64-unknown-linux-gnu.tar.gz
sudo mv rift-v0.19.0-x86_64-unknown-linux-gnu/bin/* /usr/local/bin/

Using Docker

# From Docker Hub
docker pull zainalpour/rift-proxy:v0.19.0
docker run -p 2525:2525 -p 9090:9090 zainalpour/rift-proxy:v0.19.0

# Linter image for CI/CD
docker pull zainalpour/rift-lint:v0.19.0
docker run --rm -v $(pwd):/imposters zainalpour/rift-lint:v0.19.0 .

Using Cargo

cargo install rift-http-proxy
cargo install rift-lint

Included Binaries

Each release archive includes all Rift tools:

  • rift - HTTP proxy server (Mountebank-compatible)
  • rift-lint - Imposter configuration validator
  • rift-tui - Terminal UI for managing imposters
  • rift-verify - Stub verifier (checks imposters against a running engine)

Available Platforms

Platform Architecture Download
Linux (glibc) x86_64 rift-v0.19.0-x86_64-unknown-linux-gnu.tar.gz
Linux (glibc) ARM64 rift-v0.19.0-aarch64-unknown-linux-gnu.tar.gz
Linux (musl/static) x86_64 rift-v0.19.0-x86_64-unknown-linux-musl.tar.gz
Linux (musl/static) ARM64 rift-v0.19.0-aarch64-unknown-linux-musl.tar.gz
macOS Intel (x86_64) rift-v0.19.0-x86_64-apple-darwin.tar.gz
macOS Apple Silicon (ARM64) rift-v0.19.0-aarch64-apple-darwin.tar.gz
Windows x86_64 rift-v0.19.0-x86_64-pc-windows-msvc.zip

Docker Images

Image Description
zainalpour/rift-proxy Main HTTP proxy server
zainalpour/rift-lint Imposter validator for CI/CD

Features

All binaries include:

  • Rhai scripting (built-in)
  • JavaScript scripting (Boa engine)
  • Redis backend for distributed state

Verification

Each binary has an accompanying .sha256 checksum file. Verify downloads with:

shasum -a 256 -c rift-v0.19.0-x86_64-unknown-linux-gnu.tar.gz.sha256

Mountebank Compatibility

Rift is API-compatible with Mountebank:

rift --port 2525

Documentation


Full-auto loop: when CI is green, the repo's auto-release.yml merges this PR and
cuts the next release. If CI is red, this PR stays open for human intervention. Opened
automatically by the reusable dep-bump workflow.

🤖 Generated with Claude Code

github-actions Bot and others added 2 commits September 29, 2026 23:20
Bumps the rift engine pin from 0.18.1 to 0.19.0 via scripts/bump.sh (the single source of truth for this repo's pin literals).
rift 0.19.0 made DELETE savedProxyResponses also delete the stubs a proxy
recorded (recordedFrom), matching Mountebank. The Reset policy clears proxy
responses before each test, so on the golden imposter it deleted the golden
fixture itself: REPLAY served nothing and CAPTURE kept only the last test.
Spare the golden imposter proxy responses on reset and document the engine
change on Imposter.clearProxyResponses and in the JUnit 5 guide.
@github-actions
github-actions Bot merged commit 17c492c into master Sep 29, 2026
18 checks passed
@github-actions
github-actions Bot deleted the chore/engine-0.19.0 branch September 29, 2026 23:56
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.

1 participant