Files
buzz/desktop/src-tauri
npub1223z34hd7vtwc6qj4s7flsxkj644nlre2nthu7lrrmkumhu3xddsrx9r6w c40b684e72 fix(channels): poll relay read-back after create/update to fix metadata race
create_channel and update_channel POST the kind:39000 metadata event, then
immediately re-query the relay for it. The relay's read-side index is
eventually-consistent, so that read-back could outrun indexing and return
empty — tripping the "metadata not yet available" error even though the
write succeeded (the channel then appeared on a later refresh).

Wrap the read-back in a bounded poll (poll_channel_metadata) that retries
on a short backoff before reporting the metadata missing. The modal already
behaved correctly: it surfaced the transient error loudly; the command was
the thing false-erroring.

Co-authored-by: Taylor Ho <taylorkmho@gmail.com>
Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
2026-06-24 15:43:34 -07:00
..
2026-06-11 15:06:24 +00:00