<table><tr><td style="">TallFurryMan created this revision.<br />TallFurryMan added a reviewer: mutlaqja.<br />Restricted Application added a project: KDE Edu.<br />Restricted Application added a subscriber: kde-edu.<br />TallFurryMan requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D12930">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>A recent change made a completed job return to evaluation, in order to verify that duplicates were either complete too or needed repeats.<br />
This caused those completed jobs to be considered again for processing after being re-evaluated.<br />
This was an issue in the case option 'Remember Job Progress' was enabled, because Ekos would not run any capture and would stall the Scheduler.<br />
Filtering again on state after evaluating and before considering the next job solves the issue.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Test with .esl "simple_test_no_twilight" with option 'Remember Job Progress' enabled.<br />
Without this change, selected job completes, but stays selected for next observation. Scheduler stalls.<br />
With this change, selected job completes, but is subsequently disregarded by the scheduler, as expected.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R321 KStars</div></div></div><br /><div><strong>BRANCH</strong><div><div>bugfix__job_complete (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D12930">https://phabricator.kde.org/D12930</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kstars/ekos/scheduler/scheduler.cpp</div></div></div><br /><div><strong>To: </strong>TallFurryMan, mutlaqja<br /><strong>Cc: </strong>kde-edu, narvaez, apol<br /></div>