2026-09-10-durable-operational-assessments
Source of truth
Durable operational assessments and admission certainty
ForgeTrust.AppSurface.Durable.ProvideraddsDurableRuntimeHealthState.Unavailable = 5, the computedWasStoreObserved,CanEnableActivation,CanAttemptPump, andIsReadypredicates, plusIDurableRuntimePumpAdmissionand its closed four-kind attempt result. Update exhaustive enum switches and allow serialized health-state consumers to receive value5; do not infer store observation fromObservedAtUtc.- External activators should call
TryRunOnceAsyncdirectly and handleCompleted,Refused,Unavailable, andIncompatible.Completedalways carries a result, including a zero-valued empty pass. Returned non-completed outcomes certify only that this invocation did not enter application execution; caller cancellation, execution failures, malformed provider state, and finalization failures still propagate. - The PostgreSQL rollout adds
0010_runtime_health_observation.sql. Apply migration 10 with the migration owner, rerun the canonical PostgreSQL role recipe, run status/preflight, and smoke-test the supportedv0.2.0-preview.8rollback binary before deploying the new runtime. Binary rollback keeps schema 10 in place; schema defects require a corrective forward migration. - Caller cancellation that arrives after application execution returns no longer cancels successful-sweep bookkeeping. The provider uses a fresh bounded finalization reserve, and any finalization failure propagates because execution may already have begun. Hosted shutdown budgets must include two reserves: one for finalization and one for best-effort failed-pass cleanup.
- See Adopt Durable operational assessments for complete existing-host and custom-composition examples, diagnostics/remedies, cancellation semantics, rollout, rollback, and the one-command local proof.