Skip to content

馃悰 Bug Report: Telegram agent stops replying after several messages while conversation remains ACTIVE#12241

Description

@ANSHSINGH050404

馃摐 Description

Telegram agent conversations work initially, but after several messages a later message is silently ignored. The conversation remains ACTIVE, Telegram receives no response, and no user-facing error is shown.

馃憻 Reproduction steps

  1. Configure a Novu agent with Telegram.
  2. Send several messages to the Telegram bot.
  3. Confirm the agent replies normally.
  4. Send another message, for example: hii.
  5. Observe that no reply is sent.
  6. Check the conversation status.

馃憤 Expected behavior

Every valid Telegram message should be processed and receive an agent response, or the user should receive a clear error/fallback message.

馃憥 Actual Behavior with Screenshots

Image

Novu version

Novu SaaS

npm version

NA

node version

NA

馃搩 Provide any additional context for the Bug.

Static code tracing identified several possible failure points:

  • Telegram starts message processing without awaiting it before returning 200 OK.
  • Chat SDK uses a default drop-on-lock-conflict strategy.
  • Lock conflicts and runtime errors are logged but do not produce a fallback Telegram reply.
  • The Chat SDK lock TTL is 30 seconds, which may be shorter than an LLM/tool execution.
  • Managed provider and queue-ready failures may be swallowed without retry or user notification.
    Relevant area: Telegram webhook handling, Chat SDK conversation locking, managed runtime dispatch, and provider error handling.

馃憖 Have you spent some time to check if this bug has been raised before?

  • I checked and didn't find a similar issue

馃彚 Have you read the Contributing Guidelines?

Are you willing to submit PR?

Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions