Resuming a failed script run is off by one

Created on 18 March 2024, 8 months ago
Updated 19 March 2024, 8 months ago

Problem/Motivation

If the run of the batch fails at item 5 meaning 4 was successful, running the script again causes it to start at 4 instead of 5.

I trouble shot this a bit, but it seems to be saving the right number in state, but then if the script fails, there is sometimes a db transaction rollback and so the number saved, changes to become the previous. This may or may not happen for all types of failures.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States swirt Florida

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024