https://bugs.kde.org/show_bug.cgi?id=528417

Jasem Mutlaq <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/educ
                   |                            |ation/kstars/-/commit/965a2
                   |                            |082579a3edebafb07a95df9e327
                   |                            |1142a7ec
            Version|                            |3.8.6
  Fixed/Implemented|                            |
                 In|                            |
         Resolution|---                         |FIXED

--- Comment #3 from Jasem Mutlaq <[email protected]> ---
Git commit 965a2082579a3edebafb07a95df9e3271142a7ec by Jasem Mutlaq.
Committed on 06/11/2026 at 11:45.
Pushed by mutlaqja into branch 'master'.

Scheduler: restart aborted or failed "On" jobs until their end time

A job with an "On" startup time was considered to have missed its start
once that time was more than 500 seconds ago. This also applied to jobs
that had started on time and were then aborted or stopped by an error, so
they were never restarted, whatever the aborted job management settings,
and the scheduler reported "cannot run because: end-at time" although the
job's "Until" time was still far away. For example, a job on 19:00 until
20:50 whose guiding stage timed out after 5 minutes could not be retried
after a 180 second delay.

A job that was aborted or failed after its start time no longer counts as
having missed it. The aborted job management settings and the job's
constraints, such as its end-at time, decide whether it restarts. Jobs
that never ran still miss their start as before.

Add a unit test, and a mock-module test where guiding never converges, the
job ends with an error and must be restarted after the error delay, for
both an ASAP and an "On" job. The mock guider can now be kept calibrating.
FIXED-IN: 3.8.6

Co-Authored-By: Claude Opus 5.5 <[email protected]>

M  +55   -0    Tests/ekos/scheduler/testschedulerunit.cpp
M  +7    -1    Tests/kstars_ui/mockmodules.h
M  +107  -1    Tests/kstars_ui/test_ekos_scheduler_ops.cpp
M  +7    -1    Tests/kstars_ui/test_ekos_scheduler_ops.h
M  +9    -1    kstars/ekos/scheduler/schedulerjob.cpp

https://invent.kde.org/education/kstars/-/commit/965a2082579a3edebafb07a95df9e3271142a7ec

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to