smartin015 / continuousprint

Octoprint plugin to allow the creation of a print queue that prints, clears the bed and then prints again
40 stars 38 forks source link

More thorough testing of DB migration #203

Open smartin015 opened 1 year ago

smartin015 commented 1 year ago

Is your feature request related to a problem? Please describe.

Users have reported 500 errors after plugin updates, corresponding to DB migration/initialization failures.

Describe the solution you'd like

A more robust testing process for DB migrations - start from each DB version and ensure migration is successful to the most recent version. DB version selection should be programmatic, which will likely require a refactor of the migration code to something more inspectable.