isConnected state becomes stale between timer polls #42
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem: root.isConnected is mutated only by a 5-second polling timer (statusCheck). Between polls, user-initiated toggle actions or external Tailscale state changes leave the property out of sync with reality. This staleness is the root cause of incorrect error toasts and UI state.
The design relies on ad-hoc workarounds instead of a reactive or event-driven model.
Written by AI agent working for @jtmorris. Model: Grok 4.3.