hex/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dax e5f6dac8f9
meetings: lab to stop offered and manual call recordings when the call ends (#2561)
* feat(meetings): stop offered and by-hand call recordings when the call ends

A recording Hex did not start on its own never stopped when its call
ended. Labs › Stop every call recording when the call ends (macOS, off by
default) extends the existing absence stop to them:

- an offered recording (Ask each time -> Record) and a calendar
  reminder's recording stop 3 s after their call app leaves the
  microphone and go quiet, 30 s of grace, with Keep recording and the
  call coming back dropping the stop, as Always record's does
- a recording started by hand watches the one native call app holding
  the microphone when it starts; browsers are left out so no page is
  read, and none or several leaves it unwatched as before

Stop when the call ends keeps governing Always record; the lab governs
the other recordings. The decision is a pure function in
meeting/watcher/call_end.rs, and the by-hand association reuses
detection's candidate classification.

closes #2555

* fix(meetings): count no absence before an on-request recording's app joins

A calendar reminder records before its call is answered, so the app its
link names (Zoom, Teams, Slack) is often not on the microphone yet. With
the lab on, the 3 s absence armed a stop 30 s into a call that had not
started.

A recording Hex started on request now counts an absence only after it
has seen its app on the microphone at least once (CallWatch in
meeting/watcher/call_end.rs). Always record counts from its first pass as
before, and with the lab off the "left the call" notice is unchanged.

The docs now say a calendar link is watched only for Zoom, Teams, and
Slack (Google Meet and Webex links name no app) and that the stop is 3 s
of absence plus the 30 s grace.

* fix(meetings): mark a watched app seen only from a microphone read

The lab's absence count treated the app as seen whenever it was present,
and present includes playback (a Slack notification, a Zoom window still
joining) and a microphone read that failed. Either could start the 3 s
absence and stop a recording 30 s later, before the call was joined.

Only a successful microphone read that found the app on the input marks
it seen now; present stays as it was for the absence count and for
withdrawing a stop. The reading of both (WatchedPass) moved beside the
rule in meeting/watcher/call_end.rs, and the by-hand lookup takes its
gate and read as arguments so a test checks the lab-off path without
writing the process-wide Labs store.
2026-11-23 14:22:01 -05:00
..
fixtures feat(history): find dictations and captures together on Mac (#1932) 2026-11-19 19:52:09 -08:00
golden meetings: lab to stop offered and manual call recordings when the call ends (#2561) 2026-11-23 14:22:01 -05:00
keyboard_layout.rs Rebuild the keyboard layout snapshot when the input source changes (t1304) (#1307) 2026-11-04 10:47:16 -08:00
meetings_mcp.rs Rename voice-control to hex everywhere, without migrations (#293) 2026-10-28 13:08:44 -04:00