Delayed AI Agent Responses

Incident Report for Cekat AI

Postmortem

Delays in Cekat chat features

Incident date: 30 October 2026
Started: 14:59 WIB
Service recovered: 18:31 WIB
Time until service recovery: About 3 hours and 32 minutes
Latest status: Recovered.

All times in this report are WIB (UTC+7).

Overview

On 30 October 2026, some Cekat features became slower or stopped progressing as expected. This affected AI replies, follow-up messages, broadcasts, and automatic conversation resolution.

The problem was in Temporal, the system Cekat uses to schedule and manage background work. The part of Temporal that tracks each task's progress could not reliably read the information it needed from the database. As a result, it could not reliably pass work to the workers that carry out those tasks.

The team increased Temporal's capacity, and service recovered by 18:31 WIB. Most waiting tasks had cleared by then. About 410 delayed-message tasksremained and were being processed quickly.

Some tasks had stopped retrying after repeated failures and needed separate attention. The investigation did not confirm when all remaining work was completed or cancelled.

Customer impact

Customers experienced delays in:

  • AI replies
  • Follow-up messages
  • Broadcast messages
  • Automatic resolution of conversations handled by humans
  • Automatic resolution of conversations handled by AI

There were also two risks beyond delays:

  • Some tasks stopped completely. After too many failures, the system set them aside. They would not resume until the team recovered them.
  • Some follow-ups could still be sent after they were no longer needed. When processing was moved back to the previous system, cancellation requests no longer reached follow-ups already scheduled in Temporal. Those follow-ups could remain scheduled even after a customer replied.

No permanent data loss was confirmed. The investigation did not confirm whether any outdated messages were sent or what happened to every stopped task.

Why it happened

Temporal could not access the database fast enough

Before processing a task, Temporal needs to read its saved progress. Each of the two processing instances responsible for this had only four connections available to read from the database at the same time.

That limit had been reduced earlier to fit a smaller database setup. Although the database was later upgraded, Temporal's access limit stayed the same.

As more work arrived, tasks waited too long for access and failed. They then tried again, adding even more work to an already overloaded system.

More work arrived → tasks waited too long → tasks failed and retried → the waiting work grew.

Increased traffic and a broadcast burst pushed it over capacity

The team was gradually moving delayed messages and follow-ups from the previous background-processing system to Temporal. The amount of database work was already about 2.5 times the previous day's level.

Around 15:00, Temporal was handling 80% of the work being moved over. A broadcast campaign added another burst of tasks. This appears to have pushed the system beyond what it could handle.

The database itself was initially responding quickly. The main problem was Temporal's limited capacity to access it.

Timeline

Time What happened Around 14:00–14:10 The database was upgraded to support more work. Temporal's database-access limit stayed unchanged. 14:59 Temporal began repeatedly failing to read task information. 15:00–15:40 Failed tasks kept retrying, and the problem grew. 15:34–15:40 The team added computing power and restarted the processing instances. This did not fix the problem; errors increased around the restart. 16:10 The team began moving new delayed-message and follow-up work back to the previous system. This was fully in effect by 16:30, but existing Temporal tasks kept running and retrying. Around 16:50 Some tasks stopped retrying and were set aside for later recovery. 17:30–17:40 About 4,400 delayed-message tasks were waiting. Most attempts to read task information were still failing. Around 17:49 The team increased the number of Temporal instances responsible for tracking task progress from two to four. 18:20 Three of the four instances were working normally, and waiting work had started to clear. 18:31 All four instances were working normally. Other monitored queues were empty, and about 410 delayed-message tasks remained and were clearing quickly.

How service recovered

Adding more processing instances helped. Increasing from two to four gave Temporal more capacity to read task information and spread the work. Recovery took time because the new instances had to catch up on overdue tasks.

Moving new work back to the previous system helped reduce incoming load, but was not enough on its own.Tasks already in Temporal kept retrying. Broadcasts also continued using Temporal, so moving delayed messages and follow-ups back did not stop all incoming work.

Adding computing power did not solve the problem.The initial constraint was database access, not computing power. The accompanying restart may have made things worse temporarily because the system had to reload information it previously held in memory.

Follow-up actions

The incident also highlighted problems in how scheduled jobs decide whether an action is still appropriate. A job must check the conversation when it runs, rather than assume nothing has changed since it was scheduled.

P0 = most urgent · P1 = high priority

P0 — Most urgent

  • Account for all remaining work. Confirm that waiting tasks finish and that stopped tasks are either recovered or cancelled.
  • Keep the increased capacity in future updates. Save the four-instance setting so a later system update does not accidentally reduce capacity back to two.
  • Check before sending an AI reply. The job currently does not check whether the conversation is already resolved. Add that check and skip the reply if it is resolved.
  • Make broadcast failures easier to identify. Include the campaign and batch identifiers in error records, so the team can immediately tell which group of broadcast messages is having a problem.
  • Prevent AI auto-resolve from closing active conversations. The current job can mark a conversation as resolved while the customer and AI agent are still talking. Redesign it to check the conversation's current status and recent messages before deciding whether to resolve it.

P1 — High priority

  • Review database-access capacity. Make sure Temporal's limits match the upgraded database and allow room for busy periods and system updates.
  • Add alerts for customer-facing delays and stopped tasks. Alert the team when tasks wait too long, repeatedly fail, or stop processing. The delay alerts found during the incident covered test environments only.

Owners and completion status for these actions have not been recorded.

Main lesson

We increased the amount of work sent to Temporal without enough capacity to handle busy periods. Once failed tasks started retrying, reducing new traffic was not enough to recover.

We need to plan for both busy periods and delayed work. Just as importantly, every scheduled action must check whether it is still appropriate before sending a message or resolving a conversation.

Posted Oct 31, 2026 - 18:29 WIB

Resolved

Issue has been fully recovered. Thank you for your understanding and sorry for the inconvenience.
Posted Oct 30, 2026 - 21:09 WIB

Update

We are continuing to monitor for any further issues.
Posted Oct 30, 2026 - 17:49 WIB

Update

We are continuing to monitor for any further issues.
Posted Oct 30, 2026 - 17:27 WIB

Monitoring

A fix has been implemented and we are monitoring the results.
Posted Oct 30, 2026 - 16:15 WIB

Identified

We identified an issue that caused some chats, broadcasts, and AI Agents to delay or fail to send responses between approximately 3:00 PM and 4:15 PM WIB. We have applied a mitigation and are validating service recovery. We are also assessing affected conversations and whether missed responses can be safely restored. We will provide another update once validation is complete.
Posted Oct 30, 2026 - 16:00 WIB
This incident affected: Chat & Channel Integrations, AI Agents, and Broadcast.