Skip to content

[Queued messages] causes duplicate delivery #34039

@tau-gast

Description

@tau-gast

Problem Description

When the agent is processing a message, new incoming messages are marked as [Queued messages while agent was busy]. These queued messages are delivered twice after the agent becomes idle, causing the agent to respond to the same message twice.

Steps to Reproduce

  1. Have a conversation with the agent in Discord DM
  2. Send multiple messages quickly in succession
  3. Observe that some messages show [Queued messages while agent was busy]
  4. After the agent finishes the current task, it responds twice to the queued messages

Environment

  • OpenClaw Version: 2026.3.2
  • Platform: Raspberry Pi 5 (ARM64)
  • Node.js Version: v22.22.0
  • Channel: Discord DM
  • Model: GLM-5 (via zai provider)

Expected Behavior

Queued messages should be delivered only once, and the agent should respond only once.

Actual Behavior

Queued messages are delivered twice, and the agent responds twice.

Impact

  • User receives duplicate responses
  • Potential for duplicate execution of operations

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions