Describe the bug
Sometimes missions don't disappear from ongoing missions when they complete. They disappear on refresh indicating that the issue is only visual and caused by issues with signalR messages.
To Reproduce
Have so far only been able to reproduce in aurora and not locally. To reproduce, schedule several short missons. Seems to happen more frequently if new missions are scheduled as one is completed.
Expected behavior
Missions shouldn't be displayed in ongoing missions if its no longer ongoing
Screenshots
Several missions in ongoing even though HuldraBot is available and not running any of those missions anymore.
Shreenshot of console when logging each time a signalR updated mission message is received. 4 messages are received within 1ms when the mission completes. Where status is ongoing in 2 of them and successful in the other two.
The bug is most likely caused by these messages sometimes being received in a different order such that the status gets overwritten to ongoing after a success status has been received.
Describe the bug Sometimes missions don't disappear from ongoing missions when they complete. They disappear on refresh indicating that the issue is only visual and caused by issues with signalR messages.
To Reproduce Have so far only been able to reproduce in aurora and not locally. To reproduce, schedule several short missons. Seems to happen more frequently if new missions are scheduled as one is completed.
Expected behavior Missions shouldn't be displayed in ongoing missions if its no longer ongoing
Screenshots Several missions in ongoing even though HuldraBot is available and not running any of those missions anymore.
Shreenshot of console when logging each time a signalR updated mission message is received. 4 messages are received within 1ms when the mission completes. Where status is ongoing in 2 of them and successful in the other two.
The bug is most likely caused by these messages sometimes being received in a different order such that the status gets overwritten to ongoing after a success status has been received.