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

This commit is contained in:
Simone authored and GitHub committed 2026-09-03 09:35:25 -07:00
1 parent 57626eb6ea
commit cfddb4201d
6 files changed
+119 -69

No files matched your search

+4 -3
View File
@@ -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