Quantcast
Channel: Compass - The Atlassian Developer Community
Viewing all articles
Browse latest Browse all 30

Only the last build event shown in Compass

$
0
0

I’m working on an app to integration builds and deployment data, and I’m using a combination of a data-provider and a trigger to load all the data.

The data-provider is triggered when a specific url is added to a component.
This will in turn adds the external source but doesn’t backfill any data.

My app also has a trigger that listens on all component link events from Compass. This event is received and when processed it will send multiple build events to Compass.
All the vents are accepted and processed by the the app and Compass through a webtrigger.
No errors are thrown at any point within the process cycle.

However, after this process end I would expect multiple build event to be shown in the component activity view in Compass. But only the last event is shown. It doesn’t matter how many events I send, or how I batch them.

First, the Forge Remote app sends a bundle of 10 events to the Compass webtrigger module, these then sends them to Compass using await graphqlGateway.compass.asApp().createEvent(eventPayload);
I have tried it with a single event in the payload, as well is up to 10 events as the API seems to support array inputs.

I have verified that the build events all have unique timestamps, sequence numbers and other elements that make it unique.

Why am I only seeing single events in Compass??

14 posts - 4 participants

Read full topic


Viewing all articles
Browse latest Browse all 30

Latest Images

Trending Articles



Latest Images