Flaky: textchat_session_end_to_end sometimes misses MESSAGE_UPDATE after a pin #586

Open
opened 2026-11-15 05:11:34 +00:00 by charles · 0 comments
Owner

cargo test -p fluxer --test textchat_acceptance fails about one run in three on this machine (also once inside FLUXER_SCREENSHOT_TESTS=1 cargo xtask ci):

thread 'textchat_session_end_to_end' panicked at apps/fluxer/tests/textchat_acceptance.rs:694:9:
MESSAGE_UPDATE in ["CHANNEL_PINS_UPDATE", "MESSAGE_CREATE"]

Steps: run that test three times in a row (seen 1 failure in 3 runs, plus one in a full CI run).

Seen on branch dailyuse-24-core-notification-icon-passive at 7e59bd7 (base 68c3b53, origin/dailyuse plus the reviewed 13/17/21/22a branches); that branch changes only fluxer-core notifications/passive updates, nothing on the pin path. The assertion seems to read the dispatches before the pin's MESSAGE_UPDATE has arrived (timing), not a client bug.

Found while working on #512; not fixed there.

`cargo test -p fluxer --test textchat_acceptance` fails about one run in three on this machine (also once inside `FLUXER_SCREENSHOT_TESTS=1 cargo xtask ci`): ```text thread 'textchat_session_end_to_end' panicked at apps/fluxer/tests/textchat_acceptance.rs:694:9: MESSAGE_UPDATE in ["CHANNEL_PINS_UPDATE", "MESSAGE_CREATE"] ``` Steps: run that test three times in a row (seen 1 failure in 3 runs, plus one in a full CI run). Seen on branch dailyuse-24-core-notification-icon-passive at 7e59bd7 (base 68c3b53, origin/dailyuse plus the reviewed 13/17/21/22a branches); that branch changes only fluxer-core notifications/passive updates, nothing on the pin path. The assertion seems to read the dispatches before the pin's MESSAGE_UPDATE has arrived (timing), not a client bug. Found while working on #512; not fixed there.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/fluxer-native#586
No description provided.