Missing chat messages #67

Closed
opened 2026-02-18 14:55:59 +00:00 by mplorentz · 5 comments
Collaborator

I was looking back through chat history in meta.spaces.coracle.social today and noticed that I am missing some messages. I remember reading a response from @hodlbod to the message circled in the screenshot, but I don't see it now. I tried a normal command-R refresh and it didn't change anything. I confirmed with nak that the replies I'm remembering do still exist on the relay, so it seems to be a client-side issue.

My circled message in the screenshot has ID a7fac81acfc1b7697d58fed3068fb4cdd28b52ac6c65c5ad54b05c86bf0ea2a8. The replies that are missing include 0df08f39ec29f6b8c465cd3fcb47b3c74f7f54d6025491246e21e947e318b89b and 95e2d9aa8cda60a4d854a0bdd136c75a0b117955d9141f9318b9329e5d690934.

I was looking back through chat history in meta.spaces.coracle.social today and noticed that I am missing some messages. I remember reading a response from @hodlbod to the message circled in the screenshot, but I don't see it now. I tried a normal command-R refresh and it didn't change anything. I confirmed with nak that the replies I'm remembering do still exist on the relay, so it seems to be a client-side issue. My circled message in the screenshot has ID `a7fac81acfc1b7697d58fed3068fb4cdd28b52ac6c65c5ad54b05c86bf0ea2a8`. The replies that are missing include `0df08f39ec29f6b8c465cd3fcb47b3c74f7f54d6025491246e21e947e318b89b` and `95e2d9aa8cda60a4d854a0bdd136c75a0b117955d9141f9318b9329e5d690934`.
hodlbod added the priority label 2026-02-18 17:46:58 +00:00
hodlbod added this to the Current milestone 2026-02-18 17:47:00 +00:00
Owner

This is a variant of my long-standing difficulty in synchronizing space activity. I recently re-wrote some of this code, so it may already be solved on the most recent version, but the basic idea is that syncing happens in two phases:

  • sync.ts syncs all spaces in the background conservatively, so that page navigations appear instantaneous, and so that we can show notification badges for new activity. This doesn't work well on relays written by fiatjaf, like pyramid and relay29, because those relays are overly restrictive about including h tags in queries, which is really not feasible for flotilla.
  • When you visit a room, makeFeed gets called, which paginates backwards through all messages from the current moment. This should be filling in any messages missed by sync.
This is a variant of my long-standing difficulty in synchronizing space activity. I recently re-wrote some of this code, so it may already be solved on the most recent version, but the basic idea is that syncing happens in two phases: - `sync.ts` syncs all spaces in the background conservatively, so that page navigations appear instantaneous, and so that we can show notification badges for new activity. This doesn't work well on relays written by fiatjaf, like pyramid and relay29, because those relays are overly restrictive about including `h` tags in queries, which is really not feasible for flotilla. - When you visit a room, `makeFeed` gets called, which paginates backwards through all messages from the current moment. This should be filling in any messages missed by sync.
Author
Collaborator

Is it possible to like copy localStorage from app.flotilla.social to my dev environment to see if the issue is fixed on dev? And to further debug if not?

Is it possible to like copy localStorage from app.flotilla.social to my dev environment to see if the issue is fixed on `dev`? And to further debug if not?
Owner

I've never done that, but maybe you could set up your DNS to point app.flotilla.social to localhost:1847?

I've never done that, but maybe you could set up your DNS to point app.flotilla.social to localhost:1847?
Owner

I'm going to close this now that the new release is out, and wait for someone to report it again.

I'm going to close this now that the new release is out, and wait for someone to report it again.
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: coracle/flotilla#67