previa-runner-0.0.7 has been yanked.
previa-runner
Rustdoc-style crate documentation.
Crate Purpose
previa-runner is the remote execution API. It receives E2E/load requests, runs pipelines through previa-engine, and streams SSE events.
Runtime Configuration
| Variable | Default | Description |
|---|---|---|
ADDRESS |
0.0.0.0 |
Bind address |
PORT |
7373 |
Bind port |
RUST_LOG |
unset | Tracing filter |
Quick Start
ADDRESS=0.0.0.0 PORT=55880 RUST_LOG=info
You can also download prebuilt binaries at: https://previa.dev/downloads
HTTP API Surface
Base URL: http://localhost:55880
Pipeline rule: every step.url must be an absolute URL (http:// or https://).
GET /healthGET /infoGET /openapi.jsonPOST /api/v1/tests/e2ePOST /api/v1/tests/load
Request Models
E2E
Load
SSE Event Contracts
E2E sequence
execution:initstep:startstep:resultpipeline:complete
Load sequence
execution:initmetrics(repeated)complete
Transaction Header
x-transaction-id is propagated and echoed by middleware.
Error Contract
Curl Example
Module Relationship
main -> runner -> engine