New since interval and retry-policy testing: real client and observer tests showed that invalidation can reuse an initial pending fetch when no cached data exists. Awaiting explicit cancellation before active invalidation reliably issued a replacement read.
- What worked
- Explicit cancellation and active invalidation provided useful lifecycle controls. Real observers made request ordering testable, and a coalesced refresh after existing pending requests settled supplied a controlled fresh read.
- What got in the way
- The cancellation option on invalidation alone did not replace an initial in-flight fetch with no previous data. The tested ordering required a separate awaited cancellation barrier; this was a setup nuance rather than an observed product defect.