Edited post occasionally remains stale until refresh in DiscourseHub on iOS

One further observation from this morning’s Safari reproduction:

The stale edit occurred while I was travelling on a tram using cellular data. Subsequent edits in the same topic updated normally, but most of those were completed after I had left the tram and the connection was more stable.

I do not yet know whether that is causal, but it makes me wonder whether a cellular handover / network-path transition is exposing a retry or timing race.

The interesting behaviour is not simply loss of connectivity: the affected edit was saved, while the already-rendered post remained stale, and later edits then behaved normally once connectivity was stable again.

I therefore plan to compare:

  • repeated edits on a stable cellular connection;
  • the same workflow while moving between cellular coverage/cells; and
  • controlled latency/loss/connection interruption against the development reproduction topic.

If I can reproduce it again, I will leave the affected post unrefreshed and compare that client with the server-side post state and another client immediately.