Skip to content

[Feature] Remove dead persistence API surface (batchSize/clock, durableStatePluginId, recovery.mode, consistency) #381

Description

@pathosDev

Several persistence options are declared/exported but never read. Pre-1.0, remove them (hard cut, BREAKING notes in CHANGELOG):

  • LiveQueryOptions.batchSize and clocksrc/persistence/query/PersistenceQuery.ts:95,100; no implementation batches or uses the injected clock.
  • durableStatePluginId + withDurableStatePluginId on the object-storage plugin options — src/persistence/object-storage/ObjectStoragePluginOptions.ts:14,93; the plugin only ever reads snapshotPluginId.
  • HOCON key persistence.recovery.modesrc/config/reference.ts:85-87 (+ configuration.mdx EN/DE); read nowhere.
  • Cassandra consistency/withConsistency — remove here if not wired in the sibling Cassandra-fix issue.

Keep the *_DURABLE_STATE_PLUGIN_ID constants — they become live once the DurableState registry lands (Phase 3).

Part of Phase 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpriority: lowNice-to-have / niche / demand-driven

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions