pub fn sync_declensions_are_stated<F: SyncFixture>(
_opener: impl AsyncFn() -> F,
) -> Result<(), Violation>Expand description
CF-18’s machine-checked half for the sync-peer family, for
SyncFixture::REOPEN only: F must not decline it with the reason it
would inherit by saying nothing.
SyncFixture::COMPACTION is not checked. Its inherited
UNSTATED_COMPACTION is accepted for now because every adapter fixture
in this workspace (Postgres, Neon, Cloudflare and the workerd harness)
inherits it today, so checking it here would turn every mounted sync suite
red in the change that added the capability. Requiring a stated reason for
it is follow-up issue #480.
ingest_declensions_are_stated’s
twin. Emitted once per mounted suite by
sync_peer_conformance!, not by the
emitter, so a third-party emitter cannot drop it. It cannot see a reason
that is merely bad.
The opener is taken, and never called, so F is inferred from the
macro’s hoisted fixture function.
§Errors
A Violation of CF-18 if F declines SyncFixture::REOPEN with the
inherited reason.