Skip to content

Commit 9d7d4be

Browse files
committed
Add changelog entries for re-running failed jobs
Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>
1 parent 4f2b81d commit 9d7d4be

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

‎documentation/api/change_log.rst‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ v3.0-35 | November xx, 2026
1010

1111
- Renamed ``schedule-revision`` to ``revision`` in automation responses and in each run listed under ``run-stats``. The field counts the resets of an automation's recurrence, not anything about schedules; it was released under the old name in v3.0-34 (FlexMeasures v1.1.0), and is read-only, so only clients reading it need to switch.
1212
- ``GET /api/v3_0/assets/<id>/jobs`` accepts ``queue``, to list only the jobs of one queue: ``forecasting``, ``scheduling`` or ``reporting``. On a paginated response, ``num-records`` still counts all jobs, and ``filtered-records`` counts the jobs of that queue.
13+
- Added ``POST /api/v3_0/jobs/<uuid>/rerun``, to queue a failed forecasting, scheduling or reporting job again under the same UUID. It needs the permission to trigger that kind of job, counts against the trigger rate limit, and returns ``409`` for a job that has not failed. ``GET /api/v3_0/assets/<id>/jobs`` reports for each job whether you may re-run it, in ``can_rerun``.
1314

1415
v3.0-34 | November 05, 2026
1516
""""""""""""""""""""""""""""

‎documentation/changelog.rst‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ v1.2.0 | December xx, 2026
1212
New features
1313
-------------
1414
* Filter the jobs on an asset's status page by type (forecasts, schedules or reports), from a dropdown on the Jobs tab [see `PR #2879 <https://www.github.com/FlexMeasures/flexmeasures/pull/2879>`_]
15+
* Re-run a failed forecasting, scheduling or reporting job from the Jobs tab of an asset's status page, or through the API, for users who may trigger that kind of job [see `PR #2880 <https://www.github.com/FlexMeasures/flexmeasures/pull/2880>`_]
1516
* Hosts can be emailed a digest of the automation runs that failed, got stuck or could not be queued, with ``flexmeasures monitor automations``, run from cron; each run is reported once, repeated failures are collapsed per automation, and with the new ``FLEXMEASURES_BASE_URL`` setting each automation links to its *Automations* page [see `PR #2671 <https://www.github.com/FlexMeasures/flexmeasures/pull/2671>`_]
1617

1718
Infrastructure / Support

0 commit comments

Comments
 (0)