Improvement description
Pimcore\Maintenance\Executor logs when a task starts and when it finishes, but not how long it took:
Starting job with ID pimcore_maintenance_cleanup_versions
Finished job with ID pimcore_maintenance_cleanup_versions
The maintenance run is a sequence of tasks contributed by core and by every installed bundle, so when the nightly run starts overrunning its window there is nothing in the log that says which task grew. Answering that today means adding instrumentation to the executor by hand.
Including the elapsed time in the finished message — and in the failure message, since a task that fails after 40 minutes and one that fails immediately are different problems — makes the run self-diagnosing at no cost.
Additional information
No response
Improvement description
Pimcore\Maintenance\Executorlogs when a task starts and when it finishes, but not how long it took:The maintenance run is a sequence of tasks contributed by core and by every installed bundle, so when the nightly run starts overrunning its window there is nothing in the log that says which task grew. Answering that today means adding instrumentation to the executor by hand.
Including the elapsed time in the finished message — and in the failure message, since a task that fails after 40 minutes and one that fails immediately are different problems — makes the run self-diagnosing at no cost.
Additional information
No response