History

fix(mobile): skip unsupported shared settings targets (#9381)

Simone committed 2 months ago

Commit cfddb421 parent 57626eb6 files · +119 −69Browse files

Showing the changes to docs (2 of 6 files). Show all

Unified · Split

2 files
  1. docs/internals/overview.md +4 −3
  2. docs/user/thread-sidebar.md +7 −5
docs/internals/overview.md+4−3
@@ -90,9 +90,10 @@ A turn is complete when its session leaves `running` status, projected by · 89 unmodified lines
90does not define turn end.90does not define turn end.
91 91
92Thread settlement is server-owned. Each server's own settings control PR and inactivity92Thread settlement is server-owned. Each server's own settings control PR and inactivity
93settlement. Those keys are user preferences, so clients write them to every connected environment93settlement. Those keys are user preferences, so clients write them to every shared-settings sync
94(`SHARED_SERVER_SETTING_KEYS` in `packages/client-runtime/src/state/sharedSettings.ts`) and warn94target (`SHARED_SERVER_SETTING_KEYS` in `packages/client-runtime/src/state/sharedSettings.ts`) and
95when a connected environment drifts.95warn when another target drifts. A target must have an active connection and advertise the
96`threadAutoSettlement` capability, which signals that the server can hold every shared key.
96[`ThreadSettlementReactor`][settlement] checks threads at startup, when those settings change, and97[`ThreadSettlementReactor`][settlement] checks threads at startup, when those settings change, and
97once per minute, including when no client is connected. It dispatches the guarded internal98once per minute, including when no client is connected. It dispatches the guarded internal
98`thread.auto-settle` command, which uses the existing settlement event lifecycle. Automatic99`thread.auto-settle` command, which uses the existing settlement event lifecycle. Automatic
docs/user/thread-sidebar.md+7−5
@@ -22,11 +22,13 @@ available, the inactivity rule still applies. A manual un-settle also keeps the · 21 unmodified lines
22sorts by the moment you settled it. A thread that settled on its own sorts by its last message or22sorts by the moment you settled it. A thread that settled on its own sorts by its last message or
23turn, not by when the server noticed it was inactive.23turn, not by when the server noticed it was inactive.
24 24
25Change these rules in **Settings > General**. The change is written to every environment you are25Change these rules in **Settings > General**. The change is written to every connected environment
26connected to at that moment. An environment that is offline keeps its old value. When a connected26whose server supports shared settings. An environment that is offline or needs a server update
27environment holds a different value, **Settings > General** shows a warning that names it. Choose27keeps its old value and does not appear in mismatch warnings. When a connected environment whose
28**Apply to all** to write your current values to every connected environment. The same applies to28server supports shared settings holds a different value, **Settings > General** shows a warning
29the new-thread workspace mode and the source control writing style.29that names it. Choose **Apply to all** to write your current values to the environments named in
30the warning. The same applies to the new-thread workspace mode and the source control writing
31style.
30 32
31A settings change affects future settlement and does not reopen a settled thread. Settings saved33A settings change affects future settlement and does not reopen a settled thread. Settings saved
32by older clients on one device no longer control this behavior.34by older clients on one device no longer control this behavior.