Files
Peter Steinberger d780fdc672 fix(update): back up every database before migrations and restore them on rollback (#158163)
* fix(update): preserve databases across failed migrations

Include unregistered agent databases in consistent backups and retain database
snapshots with package recovery artifacts before Doctor migrations. Restore only
when recorded write fingerprints still match, preserving displaced migrated
files and refusing silent rollback over unaccounted writes.

Keep pre-Doctor install failures on the existing package recovery path.

Closes #157846
Refs #145169 #156917 #157107 #157077

* fix(update): drain captured database aliases before rollback

* fix(update): isolate database write receipts from orchestration

* fix(update): preserve schema-neutral package rollback

* refactor(update): separate candidate validation and inspection cleanup
2026-09-26 02:30:17 +00:00
..