Files
orca/src
Jinwoo HongandClaude Opus 5.5 f6d5086c7d feat(persistence): one-time profile backup before startup rewrites saved data (#29016)
* feat(persistence): one-time profile backup before boot-time saved-data migrations

Adds ensureProfileStatePreMigrationBackup: a validated copy of the profile database,
written next to it as profile-state.db.pre-migration.db, taken once before the first
boot-time rewrite of saved layouts and never replaced afterwards. It returns 'failed'
instead of throwing so the caller skips the migration when the copy cannot be written
(e.g. disk full). Nothing calls it yet; the startup layout migration will.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs(persistence): name the lock that keeps one owner per profile

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 02:42:52 -04:00
..