Goal
Turn the existing observer/client lifecycle examples into generated histories without copying the production dispatch queue or replacing valuable focused regressions. Follow-up to #1808; related framework boundary: #1623.
The ordinary observer tests already distinguish FIFO reentrant publication, bootstrap versus wholesale delivery, listeners joining during dispatch, stale ready callbacks, disposal and hydration. A broad command generator alone would not define which outcomes are legal.
Plan
- Extract the existing contracts into an event/observation table before changing tests. Map each law to an existing lifecycle/conformance owner; extend that owner when it fits.
- Use a small per-listener reference ledger: which publications a listener is eligible for, observed rows, and lifecycle state. Do not model the implementation's queue structure.
- Generate bounded subscribe/unsubscribe/dispose/publication histories, with nested publication and listener failures at explicit boundaries. Distinguish initial delivery from later deltas.
- Compare direct reads and rows reconstructed by each eligible listener after every public boundary. Check exact delivery multiplicity and ordering where specified; do not impose a total order where the contract allows alternatives.
- Keep stale data, readiness, errors, and source authority separate. Establish hydration/stale-ready rules from existing contracts before combining them with reentrant delivery.
Acceptance
This is a scoped conversion opportunity from the ordinary-test scan, not a newly confirmed production defect.
Goal
Turn the existing observer/client lifecycle examples into generated histories without copying the production dispatch queue or replacing valuable focused regressions. Follow-up to #1808; related framework boundary: #1623.
The ordinary observer tests already distinguish FIFO reentrant publication, bootstrap versus wholesale delivery, listeners joining during dispatch, stale ready callbacks, disposal and hydration. A broad command generator alone would not define which outcomes are legal.
Plan
Acceptance
This is a scoped conversion opportunity from the ordinary-test scan, not a newly confirmed production defect.