fix(gateway): declare viewer presence explicitly instead of deriving it from subscriptions (#116001)

* fix(gateway): declare viewer presence explicitly instead of deriving it from subscriptions

* refactor(ui): isolate viewer presence lifecycle ownership

* chore(protocol): register viewer presence schema owner

* fix(ui): keep viewer presence cleared after detach

* chore: drop changelog edits from this PR

CHANGELOG.md is release-owned; release generation derives entries from merged
PRs. Release-note context stays in the PR body.
This commit is contained in:
Peter Steinberger
2026-07-29 13:56:54 -04:00
committed by GitHub
parent fa570d8ed3
commit ff72f287c3
50 changed files with 1398 additions and 358 deletions

View File

@@ -111,8 +111,8 @@ const ownerModules = [
...schemaModulesSource.matchAll(/^export \* from "\.\/schema\/([^"]+)\.js";$/gmu),
].map((match) => match[1]);
check(
ownerModules.length === 51 && new Set(ownerModules).size === ownerModules.length,
"schema-modules.ts must contain one unique 51-module owner list",
ownerModules.length === 52 && new Set(ownerModules).size === ownerModules.length,
"schema-modules.ts must contain one unique 52-module owner list",
);
check(
schemaModulesSource.split("\n").filter(Boolean).length === ownerModules.length,