mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-10-06 03:38:23 +00:00
Root cause of the recurring DesktopBlossomServerListTest CI failures, finally caught by the diagnostic added last round (flow=[], getter=null, no verification warning): DesktopLocalCache.addressableNotes holds notes via SoftReference (LargeSoftCache). Under CI memory pressure a GC evicts the consumed note between cache.consume() and the state's getOrCreateAddressableNote(), which then mints a fresh EMPTY note - the flow can never surface the servers. Production is immune because BlossomServerListState pins blossomListNote as a field for its lifetime; the tests just never held a strong reference across that window. All three tests now pin the note before consuming, and the state test asserts the event landed before construction so an eviction fails fast at the source. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011S1vbFWVVAMFDT8PTgdibV