Skip to content

[BUG] Sending a slack message to a suspended Harness does not wake it up. #2261

Description

@acherifi

📋 Prerequisites

  • I have searched the existing issues to avoid creating a duplicate
  • By submitting this issue, you agree to follow our Code of Conduct
  • I am using the latest version of the software
  • I have tried to clear cache/cookies or used incognito mode (if ui-related)
  • I can consistently reproduce this issue

🎯 Affected Service(s)

Multiple services / System-wide issue

🚦 Impact/Severity

Minor inconvenience

🐛 Bug Description

When a Substrate Hermess agent with Slack integration is setup, interacting with the bot does not work if the Actor has been suspended. Sending a message to the bot does nothing, it never goes into the resuming state.

🔄 Steps To Reproduce

  1. Declare a Substrate Hermess harness in kagent
  2. Wait for it to come online.
  3. Check that slack DMs works.
  4. Wait for the Actor to go in suspended state
  5. Send a message though Slack

🤔 Expected Behavior

  1. Declare a Substrate Hermess harness in kagent
  2. Wait for it to come online.
  3. Check that slack DMs works.
  4. Wait for the Actor to go in suspended state
  5. Send a message though Slack
  6. The bot should either notify that the Actor is suspended or send a request to wake the Actor

📱 Actual Behavior

  1. Declare a Substrate Hermess harness in kagent
  2. Wait for it to come online.
  3. Check that slack DMs works.
  4. Wait for the Actor to go in suspended state
  5. Send a message though Slack
  6. Nothing happens
  7. Go to the kAgent UI and send a message to the harness there
  8. The Actor goes in Ready state.
  9. Slack messages start working and the Bot processes messages sent when the bot was down

💻 Environment

  • Kubernetes EKS 1.35
  • kAgent 0.10.0-beta4

🔧 CLI Bug Report

No response

🔍 Additional Context

No response

📋 Logs

📷 Screenshots

Image

🙋 Are you willing to contribute?

  • I am willing to submit a PR to fix this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    No fields configured for Bug.

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions