Skip to content

fix: Prevent tmpo backup restore from destroying a running timer - #157

Merged
DylanDevelops merged 3 commits into
mainfrom
ravel/improved-db-safety-checks
Jul 20, 2026
Merged

fix: Prevent tmpo backup restore from destroying a running timer#157
DylanDevelops merged 3 commits into
mainfrom
ravel/improved-db-safety-checks

Conversation

@DylanDevelops

@DylanDevelops DylanDevelops commented Jul 20, 2026

Copy link
Copy Markdown
Owner

Pull Request Checklist

  • I have read and followed the contribution guidelines.
  • My pull request targets the main branch of tmpo.
  • I have tested these changes locally on my machine.

Closes #134

Description

When tmpo backup restore is called, a check is now added to ensure no timer is currently running.

I also added more tests for restore and to make sure it checks for a timer.

@DylanDevelops
DylanDevelops merged commit ecf37a0 into main Jul 20, 2026
5 checks passed
@DylanDevelops
DylanDevelops deleted the ravel/improved-db-safety-checks branch July 20, 2026 21:23
@DylanDevelops DylanDevelops added the type: fix A pull request that fixes a bug (fix:) label Jul 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: fix A pull request that fixes a bug (fix:)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RestoreBackup overwrites live DB without safety checks

1 participant