Interface OfflineRegionStoreRecoveryV1

Payload-free account of one store open.

Corrupt-record discards and schema-version refusals are separate counts on purpose: the first is damage this build can prove and repair, the second is a layout it declines to guess at. Conflating them is how an application learns its expensive cached bytes are gone only by noticing they are missing.

interface OfflineRegionStoreRecoveryV1 {
    appliedMigrations: readonly string[];
    discardedCorruptRecords: number;
    error?: HonuaOfflineRegionError;
    expectedSchemaVersion: number;
    kind: "honua.offline-region-store-recovery";
    migratedRegions: number;
    outcome: "ready" | "unreadable";
    storedSchemaVersion: number;
    unsupportedRegions: number;
    version: 1;
}

Properties

appliedMigrations: readonly string[]
discardedCorruptRecords: number

Records this build proved unusable and removed.

Present only when outcome is unreadable.

expectedSchemaVersion: number
kind
migratedRegions: number
outcome: "ready" | "unreadable"
storedSchemaVersion: number
unsupportedRegions: number

Regions left untouched because their schema version has no migration path.

version