Repository navigation
·
3 commits
to main
since this release
ChronoStack 0.1.0-alpha.10 (alpha): Stripe Test Clocks for your Docker Compose stack.
Install
Linux / macOS:
curl -fsSL https://github.com/Asmodeus14/ChronoStack/releases/download/v0.1.0-alpha.10/install.sh | CHRONOSTACK_VERSION=0.1.0-alpha.10 shWindows (PowerShell):
$env:CHRONOSTACK_VERSION = "0.1.0-alpha.10"; irm https://github.com/Asmodeus14/ChronoStack/releases/download/v0.1.0-alpha.10/install.ps1 | iexHomebrew (macOS, Linux) or Scoop (Windows); both are updated a few minutes after this release is published:
brew install asmodeus14/tap/chronostackscoop bucket add chronostack https://github.com/Asmodeus14/scoop-bucket
scoop install chronostack/chronostackcrates.io: cargo install chronostack@0.1.0-alpha.10.
Node SDK and Playwright helper on npm: npm install --save-dev chronostack@0.1.0-alpha.10.
The CLI pulls the matching controller image (ghcr.io/asmodeus14/chronostack-clockd:0.1.0-alpha.10, pinned by digest) on first chronostack up. Every file below is listed in SHA256SUMS; the SBOM is SPDX JSON.
Verified for this release
- Automated: unit tests on Linux, Windows and macOS; end-to-end tests (M1–M4,
init, shared mounts,exposeand simulated users) on Linux x86_64 and arm64; a nightly check that simulated users on the virtual clock give the same timeline run after run; nightly queue-barrier tests against real BullMQ, Sidekiq and Celery workers; M1 and M2 with the native macOS CLI on an Intel macOS runner (Docker in a Linux VM); a smoke test that installs from these files on fresh Linux x86_64 and arm64 runners and runs the demo scenario; an install test on Apple-silicon and Intel macOS runners (installer, native binary,initandconfig; no Docker engine). - Manual checklist (not automated):
- macOS on Apple silicon with a running Docker engine (Docker Desktop or OrbStack): not yet tested, see issue #5
- Windows 11 + Docker Desktop (WSL2): tested by the maintainers during development
Changes
Added
- Seeded network faults:
fault set --rate 0.3fails a share of requests and forwards the rest;--delay 2sor--delay 500ms..3sslows each request (real time, at most 25 s); both combine with--status. Draws come from--seed(in a scenario, the step's number by default), so the same requests fail on every run. Also in scenariofault:steps and the MCPfault_settool; events and reports show each request's delay and window. The proxy has 16 workers per target (was 4), so delayed requests don't hold up the others. chronostack doctorflags a service whose main process still runs the shim from another ChronoStack version (SHIM IN PID1=STALE,shim_stalein--json, exit 3), and says to rundownandup. This happens when the controller is replaced by a newer version while the app containers keep running.chronostack/playwright:syncClock(page)sets the browser clock of a Playwright page or context to the virtual time and follows every advance, freeze and unfreeze (Playwright'spage.clock, 1.45+). Checked with Playwright 1.52 and Chromium against the demo stack.- The Node SDK is published to npm as
chronostackwith each release (npm.yml, with provenance), starting with this release:npm install --save-dev chronostack.
Changed
- The controller leaves an installed shim alone when its contents are identical, so restarting the controller no longer replaces the file under running services.