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

Jasem Mutlaq <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/educ
                   |                            |ation/kstars/-/commit/33193
                   |                            |ee246f2bf5bbdf169abf1839454
                   |                            |e4a16857
         Resolution|---                         |FIXED

--- Comment #3 from Jasem Mutlaq <[email protected]> ---
Git commit 33193ee246f2bf5bbdf169abf1839454e4a16857 by Jasem Mutlaq, on behalf
of Steve Roger.
Committed on 16/10/2026 at 06:51.
Pushed by mutlaqja into branch 'master'.

Scheduler: fix misleading "cannot run because" diagnostics

When no job can be scheduled, the diagnostics listed a constraint for each
job, but:
- the reason string was shared by all calls and never reset, and
  getNextEndTime() only sets it when a constraint is violated, so a stale
  reason (typically "twilight" from the evening slot) was reported for slots
  without any violation, e.g. at midnight;
- aborted or failed jobs that the error handling settings do not allow to
  reschedule were reported with a sky constraint instead of the real reason.

Report the error handling reason for those jobs, and use a fresh reason per
evaluation.

M  +20   -2    kstars/ekos/scheduler/greedyscheduler.cpp

https://invent.kde.org/education/kstars/-/commit/33193ee246f2bf5bbdf169abf1839454e4a16857

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

Reply via email to