fix(mobile): skip unsupported shared settings targets (#9381)
This commit is contained in:
1 parent
57626eb6ea
commit
cfddb4201d
6 files changed
+119
-69
No files matched your search
@@ -90,9 +90,10 @@ A turn is complete when its session leaves `running` status, projected by
|
||||
does not define turn end.
|
||||
|
||||
Thread settlement is server-owned. Each server's own settings control PR and inactivity
|
||||
settlement. Those keys are user preferences, so clients write them to every connected environment
|
||||
(`SHARED_SERVER_SETTING_KEYS` in `packages/client-runtime/src/state/sharedSettings.ts`) and warn
|
||||
when a connected environment drifts.
|
||||
settlement. Those keys are user preferences, so clients write them to every shared-settings sync
|
||||
target (`SHARED_SERVER_SETTING_KEYS` in `packages/client-runtime/src/state/sharedSettings.ts`) and
|
||||
warn when another target drifts. A target must have an active connection and advertise the
|
||||
`threadAutoSettlement` capability, which signals that the server can hold every shared key.
|
||||
[`ThreadSettlementReactor`][settlement] checks threads at startup, when those settings change, and
|
||||
once per minute, including when no client is connected. It dispatches the guarded internal
|
||||
`thread.auto-settle` command, which uses the existing settlement event lifecycle. Automatic
|
||||
|
||||
@@ -22,11 +22,13 @@ available, the inactivity rule still applies. A manual un-settle also keeps the
|
||||
sorts by the moment you settled it. A thread that settled on its own sorts by its last message or
|
||||
turn, not by when the server noticed it was inactive.
|
||||
|
||||
Change these rules in **Settings > General**. The change is written to every environment you are
|
||||
connected to at that moment. An environment that is offline keeps its old value. When a connected
|
||||
environment holds a different value, **Settings > General** shows a warning that names it. Choose
|
||||
**Apply to all** to write your current values to every connected environment. The same applies to
|
||||
the new-thread workspace mode and the source control writing style.
|
||||
Change these rules in **Settings > General**. The change is written to every connected environment
|
||||
whose server supports shared settings. An environment that is offline or needs a server update
|
||||
keeps its old value and does not appear in mismatch warnings. When a connected environment whose
|
||||
server supports shared settings holds a different value, **Settings > General** shows a warning
|
||||
that names it. Choose **Apply to all** to write your current values to the environments named in
|
||||
the warning. The same applies to the new-thread workspace mode and the source control writing
|
||||
style.
|
||||
|
||||
A settings change affects future settlement and does not reopen a settled thread. Settings saved
|
||||
by older clients on one device no longer control this behavior.
|
||||
|
||||
Reference in new issue
Block a user