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 36 forks source link

Isar mission run sometimes is not yet created when receiving task status #1604

Open andchiind opened 3 weeks ago

andchiind commented 3 weeks ago

Describe the bug In the screenshot, the LogWarning line is sometimes reached. This is likely due to the mission run not being updated in the database at the point in time when the first task update is received from ISAR, causing it to not find the mission run. This causes it to send a value of null to signalR, in turn causing an error in the frontend. This should be handled better, and at the very least we should not send a null value for the mission run to the frontend.

To Reproduce Running missions with isar_robot where the first task finishes quickly.

Expected behavior The mission run value sent to signalR should never be null.

Screenshots image