fix(server): isolate remote web session cookies (#8085)

Co-authored-by: Julius Marminge <[email protected]>
This commit is contained in:
Bilal BakrandJulius Marminge authored and GitHub committed 2026-08-31 20:07:42 -07:00
1 parent 9ecfc07a8b
commit c78ae50a5a
18 files changed
+484 -87

No files matched your search

+4
View File
@@ -41,6 +41,10 @@ It is identified by a stable `environmentId`, persisted by the server at `<state
and generated on first start (`apps/server/src/environment/ServerEnvironment.ts`). Desktop, mobile,
and web all reason about the same concept.
Initialization publishes a complete ID atomically. Empty or whitespace-only ID files are repaired
using a retained `<stateDir>/environment-id.recovery` file so concurrent and delayed repairs choose
the same ID. Existing nonempty ID files remain authoritative.
### Known environments and connection targets
A saved client-side entry for an environment the client knows how to reach. It is not