Repository navigation
Closed
Labels
Description
Summary
Several public types and members have no caller in src/. Shipping them in the first release commits the project to supporting them.
Evidence
src/Relayer/Transports/PartitionScheduler.cs(public, 382 lines) andPartitionCompletionWindow: no transport uses them. Design §2.4 already says to "remove the public scheduler if no planned transport needs it."- Static capability stubs such as
src/Relayer.Kafka/KafkaTransport.cs:6-14(declaresPauseResume,Replay) disagree with the real adapter's capabilities (src/Relayer.Kafka/KafkaProducerTransport.cs:18-24:Tombstones,MaxBatchSize). Equivalent stub classes exist for Service Bus, SQS and RabbitMQ. IOutboxStore.ReadPendingAsyncandRenewClaimAsync(src/Relayer/Outbox/IOutboxStore.cs:23,37) are implemented by all three stores but never called; dispatchers use internal claim methods on the concrete stores.
Proposal
Delete the scheduler and completion window, the static capability stubs and the uncalled IOutboxStore members (or make them internal) before the first release.
Found by reading the code at 02fe06f; not reproduced at runtime unless stated.
Acceptance criteria
- Audit production, generator, sample, test and documented extension-point use before deciding what can be removed; absence of a
src/caller alone does not prove a public extension point is obsolete. - Remove or internalize genuinely redundant scheduler/completion APIs, static capability stubs and unused outbox members, or document concrete retained consumers. Include related options/types only when no supported caller remains.
- Update D23/design §2.4 if removing the fallback they currently retain; keep runtime endpoint capabilities as the authoritative capability source.
- Update affected source/tests/samples and website reference pages together; verify focused affected tests and the documentation build. Confirm package compatibility before removing any shipped public API.
Activity
thomhurst commentedon Nov 13, 2026
Audited origin/main at 3dea7d4: the named APIs remain, and src callers are still absent outside their implementations. Added acceptance criteria requiring an extension-point/compatibility audit, coordinated tests/docs changes, and an update to D23 if removing the fallback it currently retains. Lack of an internal caller alone is insufficient evidence to remove a supported public extension point.
Remove unused pre-release public APIs (#644)
Remove unused pre-release public APIs (#644) (#750)