Skip to content

Preserve user files changed between update Prepare and Apply #54

Done

Description

@Anheledir

Priority: P2 · Triage: 2026-10-26

Earlier review noted later user-file edits may survive only in the retained backup.

Acceptance

  • Recheck at Apply or use an equivalent transaction that refuses conflicts.
  • Preserve additions/edits/deletions after Prepare without silently restoring stale content.
  • Retain ownership/hash/symlink/lock checks and startup-probe rollback.
  • Test between-phase mutations/interruption and document the exact preservation guarantee.

Related: #10.

Completed in #83. Apply refuses changed target/stage snapshots before swapping; detects changes after rename/probe and rolls back, retaining replacement-side edits in failed-package. Native helper tests cover success, startup rollback and post-Prepare user-file mutation. External writers must remain stopped; exact recovery limits are documented.

Activity

  1. added
    enhancement
    P2
    on Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions