fix: reject pending async deriveds on discard (#18308)
The rejects all async deriveds of a batch as `OBSOLETE`, so they don't hang around and bail early without triggering the batch. If we don't do this, an async derived can trigger the already done batch, which schedules an effect that is never flushed. Because it is never flushed the branches it touched on its way up are never cleared, and so anything else in that subtree is now unreactive.
S
Simon H committed
a81f96549d6768586b6bdace0a3e5467cff114ce
Parent: 3ef761b
Committed by GitHub <noreply@github.com>
on 6/1/2026, 10:44:43 PM