#26808·twenty

Call recorder: switching Recording Bot Off then On does not reschedule the bot until the nightly recovery run

Author: vladbisceanuCreated Sep 28, 2026Updated Sep 28, 2026

Bug Description

On a self-hosted Twenty v2.42.6 with Call Recorder 1.14.1, switching a calendar event's Recording Bot field Off and then back On leaves the meeting without a bot until the 03:00 UTC process-pending-call-recording-requests run. A meeting that starts before then is not recorded.

Steps:

  1. A synced event with a Meet link has a scheduled bot: recordingRequestStatus: REQUESTED, externalBotId set, and botScheduleAttemptedAt from when it was scheduled (in our case two days earlier).
  2. Set Recording Bot to Off. cancelCallRecordingRequest sets CANCELED, deletes the Recall bot and clears externalBotId.
  3. Set it back to On. Reconciliation sets REQUESTED again, and schedule-recall-bot-on-call-recording-update fires (since #26272 it treats the empty bot id as pending).
  4. resumePendingCallRecording calls canRescheduleCallRecordingWithoutRecallLookup, which returns false because botScheduleAttemptedAt is still set and older than the 12-hour resend window (the idempotency key check also fails whenever the join-early setting changed). The flow returns deferred, and the row waits for the recovery cron.

Expected behavior

Re-requesting a recording whose bot was cancelled schedules a new bot right away, which is what the trigger's comment describes for "a canceled request re-requested".

Technical inputs

  • flows/cancel-call-recording-request.util.ts clears externalBotId once Recall confirms the cancel, but keeps botScheduleAttemptedAt and botScheduleIdempotencyKey. At that point the attempt is resolved, the same situation as the 404 branch in flows/reschedule-call-recording-bot.util.ts, which clears all three fields.
  • Clearing botScheduleAttemptedAt and botScheduleIdempotencyKey by hand, then moving recordingRequestStatus from CANCELED to REQUESTED, scheduled a new bot within seconds on our instance.
  • One thing the fix should account for: the recreated bot is sent with the same idempotency key as the cancelled one when the meeting and join time are unchanged. In our test the cancelled attempt was more than a day old and Recall created a new bot, but a re-request inside Recall's idempotency retention might be deduplicated to the deleted bot.

We can open a PR with the fix and a test.