mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Conflict resolution in mediaUrl.ts unifies both sides under one canonical origin rule: main's canonicalOrigin() (lowercased scheme/host, default port dropped) is now the only representation the cached relay origin ever holds, so both rewriteRelayUrl and isRelayDownloadable (which compares URL.origin === relayOrigin) inherit case-insensitive matching. Dawn's retried, deadline-bounded poll loop and useSyncExternalStore origin store are kept; the two generation counters (main's cacheGeneration, the lane's relayOriginGeneration) are collapsed into one cacheGeneration guarding both the port cache and origin publication. Both sides' tests retained. The app_state.rs size override is bumped to the union of the two independently approved additions (media-fetch client builder + profile-reconcile flag). Co-authored-by: Tyler Longwell <tlongwell@block.xyz> Signed-off-by: Tyler Longwell <tlongwell@block.xyz>