Repository navigation
Restore speaker context and participant lookups broken by a SQL syntax error - #8183
georgi4444 wants to merge 2 commits into
Conversation
…x error fastrepl#8044 added the owner's additional emails to SESSION_REMOTE_PARTICIPANT_IDS_SQL with one closing parenthesis too many, so since 1.4.30 SQLite rejects the query (near ")": syntax error). Speaker context capture fails on every poll and stores no intervals, so the owner's mic is never named, and the remote participant hooks get no participants. Remove the extra parenthesis and run the query on SQLite in a regression test.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Summary
Intent: Since 1.4.30,
SESSION_REMOTE_PARTICIPANT_IDS_SQLhas one closing parenthesis too many (added with the additional-email match in #8044), so SQLite rejects it withnear ")": syntax error. Remove it so speaker context capture and the remote participant lookups work again.Found on desktop 1.4.34: every recording since 1.4.30 stored
speaker_contextas{"intervals":[]}, and the app logged a console error on each 5 s capture poll, so the owner's mic voices stay "Speaker N" even with a headset.useSessionParticipantHumanIdsandgetSessionTranscriptRenderRequestuse the same query and get no participants or an error instead.Demo
N/A — no UI of its own to show; the regression test reproduces the SQLite error, and a 1.4.34 test recording kept an empty
speaker_contextwhile the app logged an error every 5 s.Verification
near ")": syntax errorwithout the fix and returns only the remote person with it.pnpm -F @anlg/desktop test: 4222 passed.pnpm -F @anlg/desktop typecheck: passed.oxlinton the changed files: no errors (one existing warning in unchanged code).dprint checkon the changed files: passed.Summary by cubic
Fixes a SQL syntax error in
SESSION_REMOTE_PARTICIPANT_IDS_SQLthat since 1.4.30 made SQLite reject the query, so speaker context capture always failed and remote participant lookups returned no participants.Written for commit 3de3d4f. Summary will update on new commits.