equinor / flotilla

Flotilla is the main point of access for operators to interact with multiple robots in a facility.
Eclipse Public License 2.0
16 stars 38 forks source link

Some mission task statuses are lost when tasks complete quickly #1675

Open andchiind opened 4 months ago

andchiind commented 4 months ago

Describe the bug When tasks complete and are reported on MQTT quickly then some of them are not processed fully by the relevant event handler. The log that the event has been processed is printed, but the effect is not seen in the database. In the screenshot we see the effect on the frontend, but it is not a signalR issue as it persists after refreshing.

To Reproduce Relevant ISAR settings used: ISAR_ROBOT_STEP_DURATION_IN_SECONDS = 0.05 ISAR_ROBOT_MISSION_DURATION_IN_SECONDS = 0.05 ISAR_ISAR_ROBOT_STATUS_PUBLISH_INTERVAL = 0.025

The issue is also easiest to see with longer missions.

Expected behavior By the time a mission is reported as completed, all tasks should have their statuses updated.

Screenshots image

aeshub commented 1 month ago

This issue has automatically been marked as stale as there has been no activity for 60 days.