Documentation contents

Scheduling and concurrency

Planning, delivery, and reporting

The planner assigns IDs from the original body-list positions or repetition numbers. It shuffles those IDs first when requested and then assigns delays to plan slots using a local seeded PRNG. Each batch contains consecutive plan slots up to the worker limit. Workers are ready before a shared barrier releases the batch. Per-slot delays start at that barrier. The next batch waits for its predecessor to finish and for the between-batch pause. A stable plan permits different dispatch, network arrival, and completion orders across runs.

Each delivery uses the configured method, request target, headers, and selected body. It preserves any event ID in that body. The engine caps connections per host at the worker count and uses them once. It performs no application retries. A delivery error stops new scheduling and cancels and joins in-flight workers. Already attempted deliveries retain their observations. A server may have committed an effect before a connection failed. Exactly-once delivery is outside the protocol guarantee.

A client attempt begins when its dispatch observation is recorded, immediately before the engine prepares and submits the HTTP request. Its completion is recorded after exchange and response handling return, including error handling within the exchange. Response headers count once the transport returns a final HTTP status. A completed response read also requires the body to finish within the configured byte limit. The transport caps response headers at 64 KiB and disables automatic decompression. Deliveries discard bodies. Verification temporarily holds its bounded JSON document. Both read at most one extra body byte to detect overflow.

Dispatch and completion ranks are one-based and counted independently across the run. Offsets use the same monotonic run origin, sampled before live plan generation and any initial delay. Duration is completion offset minus dispatch offset. Peak client in-flight counts the interval from a recorded dispatch until its recorded completion. Batch dispatch spread is the difference between the first and last observed client dispatch in each batch, with zero for fewer than two attempts. Reports show the maximum spread across batches. Dialing, body handling, and client scheduling are included in these observations, which cannot establish server-side overlap.

Delivery completes when every planned response is fully read within its limits, including 4xx and 5xx responses. A delivery error ends execution as failed. Overall deadline expiry during delivery ends it as incomplete. Interrupt or caller cancellation during delivery ends it as canceled. The verification phase has a separate outcome.

Dry-run performs no DNS lookups or target connections. Dry-run and live summaries redact paths, queries, headers, payloads, assertion values, and verification evidence. Live summaries emit fixed error classifications in place of raw network errors.