Repository navigation
fix(mobile): keep thread watches live and stop composer flicker - #588
Merged
Merged
Conversation
nixuuu
force-pushed
the
fix/mobile-stream-flicker
branch
from
November 12, 2026 21:14
0214bd6 to
5bec44c
Compare
Treat periodic sequence controls as readiness-neutral, share composer grace and queued delivery, and retain Stop during recovery. Fixes: #541
nixuuu
force-pushed
the
fix/mobile-stream-flicker
branch
from
November 12, 2026 21:17
5bec44c to
486c16b
Compare
nixuuu
marked this pull request as ready for review
November 12, 2026 21:22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The mobile send/stop button briefly became disabled every five seconds. The sequence watch added in #541 refreshes
controlson the same healthy stream; mobile interpreted each refresh assyncinguntil the following caught-up batch arrived. This is a readiness transition, not a periodic transport reconnect.Share readiness classification across mobile and web/desktop: controls, metadata and unknown updates preserve readiness, while explicit catch-up still waits for a synchronized snapshot/batch. Development diagnostics record transition reasons, timestamps and watch-open counts without content or identifiers.
Share a one-second composer grace period across clients. A send accepted during recovery waits for actual live readiness before every attempt, retaining its immutable request/idempotency key. Stop stays reachable during recovery and waits for live; a queued Stop is discarded if its original turn has ended. Leaving the thread or pairing cancels queued work. Interrupt RPCs with an unknown outcome are not replayed.
Fixes: #541
Validation
6ddec9ef559ee0095ac33e94ff9418a942053b17, Android5f6eae3ab278f1cd543e9ed763f923a319b65ec9. Mobile changes are JS/TS only; no native configuration or dependencies changed. No native build or OTA publication was run.Device checklist (not performed)
kind: threadshow one watch start and no transition away from live.Copy audit (
docs/copy.md§8): no new user-facing wording; existing send, wait, error and Stop labels are reused. Controls retain their existing geometry.