Skip to content

Bug: Reception of multiple events doesn't work #245

@artemsheinacn

Description

@artemsheinacn

Description

@bharatGoswami8 @darkwisebear
It looks like com is not able to send/receive multiple events and/or events are being lost or overwritten.

[2026/03/26 10:49:04.9920876][266283][adas-secondary][DEBUG] Creating mw com producer for /feo/com/AgentAgt102ToScheduler...
[2026/03/26 10:49:05.0956654][266283][adas-secondary][DEBUG] Sending Hello for 4...
[2026/03/26 10:49:05.0963579][266283][adas-secondary][DEBUG] Sending Hello for 5...
[2026/03/26 10:49:03.6916338][264651][adas-primary][DEBUG] Creating mw com consumer for /feo/com/AgentAgt102ToScheduler...
[2026/03/26 10:49:05.1177299][264651][adas-primary][DEBUG] Got signal ActivityHello(5)

The hello signal from activity 4 is lost despite being sent after consumer has been connected. I'm using:

subscription
            .receive(
                self.sample_container
                    .take()
                    .expect("concurrent receive calls detected on the same subscription"),
                1,
                1,
            )
            .await

to receive events one-by-one and SampleContainer configured to hold 10 samples (SampleContainer::new(10)), also config file specifies 20 sample slots.

"events": [
            {
              "eventName": "signal",
              "numberOfSampleSlots": 20,
              "maxSubscribers": 1
            }
          ]

What could be the issue here?

Error Occurrence Rate

Reproducible

How to reproduce

I can try to reproduce it in com-api-example if that helps.

Supporting Information

No response

Classification

minor

Affected Version

0.5

Expected Closure Version

0.5

Category

  • Safety Related
  • Security Related

Metadata

Metadata

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions