Skip to content

Remove watch feature flag — promote watch to always-on #377

Description

@JoshuaChi

Watch is production-ready. The watch feature flag adds complexity with no benefit: fallback stubs return unimplemented, all real deployments enable it, and optional Arc<WatchRegistry> spreads null-checks across the codebase.

Scope:

  • Remove watch feature from all Cargo.toml files
  • Collapse Option<Arc<WatchRegistry>>Arc<WatchRegistry> (always present)
  • Delete #[cfg(not(feature = "watch"))] stubs in grpc_raft_service.rs and embedded.rs
  • Remove enabled: bool from WatchConfig
  • Remove #[cfg(feature = "watch")] gates from all test files
  • Update CHANGELOG

Dependency: Merge after #300.

Metadata

Metadata

Assignees

No one assigned

    Labels

    component:client-watchWatch system — event delivery, prefix/range watching, overflow handling, revision tracking.

    Fields

    No fields configured for Feature.

    Projects

    Status
    Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions