lightspeed/ops/migration_harness

Deterministic M19 harness for scoped data access and migration plans.

Types

Full M19 report.

pub type Report {
  Report(outcomes: List(ScenarioOutcome), failed_scenarios: Int)
}

Constructors

M19 compatibility scenarios.

pub type Scenario {
  SmallReferenceMigration
  MediumReferenceMigration
  AuthzScopedAccess
  RollbackMixedRuntime
}

Constructors

  • SmallReferenceMigration
  • MediumReferenceMigration
  • AuthzScopedAccess
  • RollbackMixedRuntime

One scenario outcome.

pub type ScenarioOutcome {
  ScenarioOutcome(
    scenario: Scenario,
    passed: Bool,
    signature: String,
  )
}

Constructors

  • ScenarioOutcome(
      scenario: Scenario,
      passed: Bool,
      signature: String,
    )

Values

pub fn failed_scenarios(report: Report) -> Int

Failed scenario count.

pub fn outcomes(report: Report) -> List(ScenarioOutcome)

Report outcomes.

pub fn pass_fail_label(outcome: ScenarioOutcome) -> String

Stable pass/fail label.

pub fn report_signature(report: Report) -> String

Stable report signature for M19 fixture gates.

pub fn run_matrix() -> Report

Run all M19 scenarios.

pub fn run_scenario(scenario: Scenario) -> ScenarioOutcome

Run one scenario.

pub fn scenario(outcome: ScenarioOutcome) -> Scenario

Scenario accessor.

pub fn scenario_label(scenario: Scenario) -> String

Scenario label.

pub fn signature(outcome: ScenarioOutcome) -> String

Scenario signature.

Search Document