lightspeed/ops/etl_reliability_harness
Deterministic ETL reliability and SLO harness for M33.
Types
Full M33 budget report.
pub type BudgetReport {
BudgetReport(
observations: List(slo.Observation),
results: List(slo.BudgetResult),
failed_budgets: Int,
)
}
Constructors
-
BudgetReport( observations: List(slo.Observation), results: List(slo.BudgetResult), failed_budgets: Int, )
Full M33 reliability report.
pub type Report {
Report(
outcomes: List(ScenarioOutcome),
failed_scenarios: Int,
nondeterministic_failures: Int,
)
}
Constructors
-
Report( outcomes: List(ScenarioOutcome), failed_scenarios: Int, nondeterministic_failures: Int, )
M33 reliability scenarios.
pub type Scenario {
ConnectorOutageRecoveryPath
PoisonMessageReplayPath
SchemaEvolutionCompatibilityPath
ReplayIdempotencyPath
SloBudgetCompliancePath
}
Constructors
-
ConnectorOutageRecoveryPath -
PoisonMessageReplayPath -
SchemaEvolutionCompatibilityPath -
ReplayIdempotencyPath -
SloBudgetCompliancePath
Values
pub fn budget_failed_budgets(report: BudgetReport) -> Int
Budget-report failed count accessor.
pub fn budget_observations(
report: BudgetReport,
) -> List(slo.Observation)
Budget-report observation accessor.
pub fn budget_report_markdown() -> String
Deterministic markdown budget report for scripts.
pub fn budget_report_signature(report: BudgetReport) -> String
Stable budget report signature.
pub fn budget_results(
report: BudgetReport,
) -> List(slo.BudgetResult)
Budget-report results accessor.
pub fn budget_snapshot_signature() -> String
Deterministic budget snapshot signature for drift gates.
pub const budget_snapshot_version: Int
pub fn nondeterministic_failures(report: Report) -> Int
Nondeterministic failure count.
pub fn run_budget_report() -> BudgetReport
Run default M33 budget evaluation report.
pub fn run_scenario(scenario: Scenario) -> ScenarioOutcome
Run one scenario twice and require deterministic parity.
pub fn snapshot_report_markdown() -> String
Deterministic markdown report for fixture scripts.
pub fn snapshot_signature() -> String
Deterministic snapshot signature for fixture drift gates.
pub const snapshot_version: Int