Closed eivindsjovold closed 12 months ago
The problem is that we use the LastRun value in the MissionDefinition model to check when it was last run, and currently we store any finished run, not just any successful run. To address this we could rename it to LastSuccessfulRun and check for the status of the completed mission, or we could store both LastRun and LastSuccessfulRun.
This is now addressed in https://github.com/equinor/flotilla/pull/1041 by renaming lastRun to lastSuccessfulRun and only updating upon successful completion.
Describe the bug When a mission started from inspection plan is cancelled, it will register as completed in the inspection plan overview
To Reproduce Run missions in inspection plan, and cancel one that has ran a tag.
Expected behavior A bit unsure, might require discussion, but some system to log what tags are not run when mission is cancelled.
Screenshots If applicable, add screenshots to help explain your problem.