Skip to content

Repeated notifications when the "console" is configured as a notificationExecutableId #281

@f000

Description

@f000

First of all, thank you for this excellent project, it is greatly appreciated!

Expected Behavior

When configured, ACM should send exactly one Slack notification per each execution in the Console. This is important for security and auditing purposes.

Current Behavior

When console is included in the notificationExecutableIds of the dev.vml.es.acm.core.code.Executor configuration, then ACM continuously sends Slack notifications with the output "Hello World!" multiple times per minute.

This happens even when:

  • No code is currently running in the Console
  • The last executed Console code is completely different from "Hello World!"

Simply opening the ACM interface is enough to trigger this behavior - no user interaction is required. As a result, the configured Slack channel is flooded with "Hello World!" notifications.

Steps to Reproduce

  1. Configure and enable Slack notifications in ACM
  2. Add console as one of notificationExecutableIds of dev.vml.es.acm.core.code.Executor OSGi config
  3. Reload the ACM interface
  4. Wait a short amount of time
  5. Observe your Slack channel being flooded with "Hello World!" ACM notifications
  6. Navigate to another AEM section (e.g. Sites)
  7. Observe that notifications stop

Context (Environment)

  • Local AEM SDK 2025.10.22943
  • AEMaaCS 2025.11.23482
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions