Open kegsay opened 2 months ago
It's not the sending task. It's the fact that we don't see the remote echo for this event. We don't even see the local echo for this event actually...
The local echo handler worked for the previous message sent by Alice:
2024-07-09T07:40:13.530040Z INFO TestRoomKeyIsCycledAfterEnoughTime/{rust_hs1}|{rust_hs1}: [@user-49-alice:hs1](rust) SendMessage !KWuNNCWLHHGZwtRoVU:hs1 => Before we start | rust.go:0
...
2024-07-09T07:40:13.531892Z INFO matrix_sdk_ui::timeline::builder: spawned the local echo handler! | crates/matrix-sdk-ui/src/timeline/builder.rs:286 | spans: local_echo_handler{room_id="!KWuNNCWLHHGZwtRoVU:hs1"}
...
2024-07-09T07:40:13.533799Z DEBUG matrix_sdk_ui::timeline::event_handler: Handling local event | crates/matrix-sdk-ui/src/timeline/event_handler.rs:301 | spans: local_echo_handler{room_id="!KWuNNCWLHHGZwtRoVU:hs1"} > handle_local_event > handle_local_event > handle_event{txn_id="85ace0bf7c2d454f9095200a9528ccc0"}
2024-07-09T07:40:13.533775Z DEBUG matrix_sdk_crypto::olm::account: The fallback key either expired or we didn't have one: generated a new fallback key. removed_fallback_key=None | crates/matrix-sdk-crypto/src/olm/account.rs:598 | spans: next_sync_with_lock > sync_once > handle_response > preprocess_to_device_events > receive_sync_changes
2024-07-09T07:40:13.533912Z DEBUG log: processing CharacterTokens(NotSplit, Tendril<UTF8>(shared: \"Before we start\")) in insertion mode InBody | spans: local_echo_handler{room_id="!KWuNNCWLHHGZwtRoVU:hs1"} > handle_local_event > handle_local_event > handle_event{txn_id="85ace0bf7c2d454f9095200a9528ccc0"}
2024-07-09T07:40:13.533969Z DEBUG log: processing EOF in state Data | spans: local_echo_handler{room_id="!KWuNNCWLHHGZwtRoVU:hs1"} > handle_local_event > handle_local_event > handle_event{txn_id="85ace0bf7c2d454f9095200a9528ccc0"}
2024-07-09T07:40:13.534005Z DEBUG log: processing EOFToken in insertion mode InBody | spans: local_echo_handler{room_id="!KWuNNCWLHHGZwtRoVU:hs1"} > handle_local_event > handle_local_event > handle_event{txn_id="85ace0bf7c2d454f9095200a9528ccc0"}
2024-07-09T07:40:13.534056Z TRACE matrix_sdk_ui::timeline::event_handler: Adding new local timeline item | crates/matrix-sdk-ui/src/timeline/event_handler.rs:937 | spans: local_echo_handler{room_id="!KWuNNCWLHHGZwtRoVU:hs1"} > handle_local_event > handle_local_event > handle_event{txn_id="85ace0bf7c2d454f9095200a9528ccc0"}
There's literally 0 log lines for "local" for the event that wasn't in the timeline.
Run https://github.com/matrix-org/matrix-rust-sdk/actions/runs/9852865102/job/27202217506
It looks like the sending_task never returns, despite it sending the message.
Relevant logs:
Despite this: