Skip to main content

Crate stateknot_testkit

Crate stateknot_testkit 

Source
Expand description

Bounded, runtime-neutral qualification evidence for StateKnot deployments.

This crate records measurements and evaluates closed objectives. It does not inject faults, provision infrastructure or turn CI output into a production service-level claim.

Structs§

FairnessEvidence
Noisy-neighbour fairness evidence.
FaultPlan
Closed, deterministically ordered fault plan.
FaultRequirement
One planned fault and the number of invariants that must be checked.
FaultResult
Executed counts for one planned fault.
IntegrityEnvelope
Canonical report plus a tamper-evident, non-authenticating digest.
LatencyBucket
One non-empty HDR histogram bucket.
LatencyDistribution
Bounded latency distribution emitted by the recorder.
MachineEnvironment
Recorded resources for each application or database node.
ObjectiveResult
Deterministic integer evaluation of one objective.
Operation
RAII accounting guard for one offered operation.
PhaseDurations
Monotonic elapsed time for each completed phase.
PostgresEnvironment
PostgreSQL configuration relevant to the qualification contract.
QualificationCounters
Exact operation and correctness counters.
QualificationEnvironment
Complete bounded environment record embedded in qualification evidence.
QualificationRecorder
Thread-safe measurement handle. Every mutating method uses the phase lock.
QualificationReport
Immutable evaluated qualification report.
QualificationRun
A qualification run with recorder-owned monotonic phase transitions.
QualificationWindow
Minimum monotonic duration for each qualification phase.
SourceIdentity
Immutable source and input identities for one qualification run.
Topology
Process topology used by the Agent host qualification scenario.

Enums§

EnvironmentError
Invalid or incomplete qualification-environment metadata.
EvidenceLimitation
Explicit reason the evidence cannot establish a release qualification.
FaultCaseId
Stable fault case understood by qualification report schema version one.
FaultError
Invalid fault-plan or transition data.
LatencySignal
Shared latency signal with a version-one objective.
ObjectiveId
Stable objective identifier.
ObjectiveStatus
Evaluation status for one objective.
OperationOutcome
Final classification for an offered operation.
QualificationCounter
Counter selected by a driver for an exceptional correctness observation.
QualificationProfile
Qualification execution profile.
QualificationScenario
Closed qualification scenario identifier.
ReferenceEnvironmentViolation
Stable reason that an environment does not satisfy the reference profile.
ReportError
Qualification report construction or verification failure.
RunError
Qualification recording or lifecycle failure.
RunPhase
Monotonic qualification phase.
StandbyMode
Database standby mode recorded by a qualification run.