Property classification (issue #2321)

This page is part of the documentation for Orleans.Lattice 10.5.0 (release line 10.5), built 2026-12-05. It is also published as markdown, with every table and list, at property-classification-issue-2321.md, and llms.txt lists every page.

Part of Refinement note: WAL durability lifecycle to production.

Every property above is made to fire by a mutation. Classified by what the mutation does:

  • Perturbs an existing action. Every mutation but four. For these the property holds because a guard in the modelled protocol prevents its violation, and the mutation is the evidence that the guard is load-bearing.
  • Splices a transition into a stutter. ActivateLoadFail and ReplayFaultRearm change no state: they are production failing closed (#4450) and a re-armed replay staying cold (#4467). ReadPositionHonestLoadFailureColdReplays, ReadPositionHonestLoadFailureColdStartsOverIntactWal, ReadPositionHonestFaultedColdReplayResumesWarm and the second edit of SnapshotCoverageMonotonicStoreAcceptsRegression replace a stutter with a new transition, so they ADD an action. Their limit: they show that taking that step would be unsafe - each is production's behaviour before its fix - not that a guard inside an existing step is load-bearing. The mutation-coverage gate is satisfied for those two rows by construction; the fixes are pinned by the production tests in the rows' Detector column.

Two properties are classified differently:

  • SnapshotCoverageMonotonic is unreached in the base, not guarded. With only the store's monotone refusal dropped (rp[l] >= snapCov[l] removed from Capture), the property still holds over the whole base state space: a capture below durable coverage needs an activation that starts below its own snapshot, and the base has none (a rehydrate restarts at the snapshot's coverage, and a failed load fails closed). SnapshotCoverageMonotonicStoreAcceptsRegression reaches it only by splicing such an activation in, so it is NOT evidence that the refusal is load-bearing here. The evidence for the store is the row's detector, LeafSnapshotStorageGrainTests, red with the refusal perturbed.
  • EveryAckedWriteMaterialised is subsumed in this instance. Its protocol-defect pairing, EveryAckedWriteMaterialisedColdStartResumesFromCheckpoint, also violates ReadPositionHonest (at depth 9), and no liveness-only protocol defect was found for it; EveryAckedWriteMaterialisedLeafStopsUnbounded perturbs the environment's fault assumption instead. The module's protocol-defect liveness evidence is ReclamationEventuallyAdvances; its scheduling, own-entry and residual-persist pairings violate no safety invariant.

What the finite instance can hide is bounded-out cells, and they are named rather than assumed absent:

  • Two faults in one behaviour. The main configuration's budget is one. The TwoFaults variant raises it to two for every invariant and both action properties; that is the check that reaches issue #4523, which the one-fault instance hid. Bounded-out at two faults, by the TLC budget: the liveness properties EveryAckedWriteMaterialised and ReclamationEventuallyAdvances. The full configuration at two faults takes about ten minutes, past the TLC budget, so they are checked at one fault only. A liveness defect that needs two faults would not be found here.
  • A lost activation moving to another silo. The base keeps WithCrossSiloMove off: with it, the liveness check would be past the TLC budget (about 28 minutes on two workers before the TAIL commit fence was modelled, over a smaller state space). The CrossSilo variant turns it on and checks every invariant and all four action properties (1,954,533 states, about two minutes). Bounded-out, by the TLC budget: the liveness properties under a cross-silo move.
  • Abandoned flushes and lost activations with snapshot or row loss. The SnapshotLoss variant turns WithAbandonedFlush and WithActivationLoss off. With abandonment it would be 8,338,736 states, past the budget; without both it is 5,070,839, exactly the abandon-free core it always had (it was 6,402,166 with abandonment before the #5799 resync was modelled). The combination is bounded out; each half is checked: abandonment and activation loss in the base and TwoFaults, snapshot and row loss in SnapshotLoss.
  • Three faults in one behaviour. Outside every configuration.
  • More than three offsets, two leaves or one partition. Per-partition checkpoint arrays, coverage widening (#3157) and cross-partition clamps are not modelled.
  • A leaf that owns some writes and skips others. l1 owns every write and l2 none. The mixed instance (owners 0 -> l1, 1 -> l2, 2 -> l1) was checked with every property during development: clean, 153,455 distinct states to depth 27. It is not the checked instance, because it cannot reach the never-written latch of #4456 (now fixed) within one fault.

Three pairings perturb the environment rather than the protocol, and deserve a note. ReadPositionHonestLostRowReadsAsFresh hides the loss of a leaf row, so the leaf reads as one never written (issue #4654 before its fix), and ReadPositionHonestSnapshotRecordLostWithSnapshot keeps the snapshot record with the snapshot instead of in the row. And EveryAckedWriteMaterialisedLeafStopsUnbounded perturbs the ENVIRONMENT assumption that faults do not recur for ever. It shows the property needs that assumption. The protocol-defect liveness pairings, which keep the spec's fairness intact, are EveryAckedWriteMaterialisedColdStartResumesFromCheckpoint (subsumed, above), ReclamationEventuallyAdvancesReadPositionTracksOwnEntries (#2270) ReclamationEventuallyAdvancesResidualAdvanceNeverPersisted (#3608), and ReclamationEventuallyAdvancesWarmLeafNeedsCheckpoint (#3314). The last keeps the leaf active with no faults: a populated cache cannot schedule replay before a checkpoint exists. This reproduces birth-time timer registration being deferred until the first checkpoint, not a read-watermark or capture-safety relaxation.