mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-08 23:54:39 +00:00
Add coverage for a real consumeBaseReplaceable call the suite was missing: observers are also notified with the "version" note (getOrCreateNote(event.id), a regular Note carrying the AddressableEvent), which the addressable-list guard must drop while still listing the AddressableNote for the same event. Confirmed the concurrency the stress tests exercise is real, not theoretical: relay events are verified+consumed inline on per-relay socket dispatchers, so distinct relays drive new()/remove() on the same note instance concurrently. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ah1aCniyjnzc27x4pwq2Df