messaging: no live updates — recipient must reload to see new messages #182
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_archipelagos#182
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The messaging archipelago is pull-only — there is no SSE / WebSocket / poll loop. After mount the conversation list and active-chat messages are fetched once; they are never refetched on their own. A user who sends a message can see it (optimistic update from the closed #45 patch), but the recipient sees nothing until they reload the page or navigate away and back.
Grep for
subscribe|interval|poll|watch|stream|sseunderarchipelagos/messaging/src/returns nothing.Repro
Why this is worse than it sounds
Combined with hero_archipelagos #62, on the next reload tab B sees the new message and its own historical messages all rendered as
bubble-other. Effectively no one can tell who sent what without auth.Suggested fix
Short-term: poll
conversation.list+conversation.list_messages(active_sid)every N seconds while the island is focused.Medium-term: add an SSE/WS subscription on the
hero_osis_communicationsocket and streamchatmessage.new/conversation.updatedevents to subscribed clients.Found via QA session 2026-04-29 (
qa/messaging_2026-04-29/FINDINGS.md).