Return partial Fathom participant lookups at the meeting page cap

Merged
EH
2d ago
+58-18

fathom-list-calls-by-participant threw Fathom meeting listing exceeded 20 pages when an account had more than 20 pages of meetings and fewer matches than the limit, so the AI tool and workflow action returned nothing. Prod hit this 3 times in one workspace today.

Listing

  • listFathomMeetings reports the cap instead of throwing. It returns { meetings, isTruncated } and each caller decides what a cut-short listing means.
  • The participant lookup returns what it found and sets isTruncated in its result and workflow output schema when any connected account hit the cap.
  • Sync Call still throws the same error when the recording was not found before the cap, since a miss after a truncated scan does not mean the recording is missing.

Validation

  • list-fathom-meetings.test.ts: a history of exactly 20 pages is not truncated; 21 pages returns 20 pages with isTruncated: true.
  • yarn typecheck, yarn lint, yarn test:unit (212 passed).
  • Not tried against a real Fathom account.