Files
orca/tests
Brennan Benson 0b93cef445 One chat's status change wakes only that chat (#38883)
* perf(native-chat): one chat's status change wakes only that chat

The renderer status feed copied every retained summary and called every
listener on each one-session update, and the status bridge walked every
open tab. Adopt the common keyed-entity pattern: update the session in
place, wake only readers registered for that session, and give the bridge
a session-to-tabs index. Option state now reads only the runtime
permission answer, so a reply preview no longer re-renders the chat.

* fix(native-chat): keep the phone's permission projection and prune stale retry members

Restore projectRuntimePermission for the phone app, ignore a malformed
conversation-name list as the names fold does, drop superseded bridge
members from the retry set, key resume-run ids by the run's start, and
update the continuation test mock.

* perf(native-chat): retry and resume-run checks look only at the touched host and chats

Keep the bridge's retry set per host so another host's update never scans
it, and check only the resume-run entries an update touched.

* test: give the launch create-message feed fake the per-chat subscription

* test: drop call-count assertions from the bridge contact-loss test

Keep the behavior it guards: no throw, revocation applied, later listeners
still notified, and the reconnect snapshot projects.
2026-11-06 02:06:50 -08:00
..