Skip to content

fix: restore reports partially applied with 0 run #919

Closed

Description

@EVWorth

mas-core/src/restore/runner.rs:304 computes partially_applied = (cancelled || failed) && (!roll_back || …). If every statement is refused and "Stop on error" is off, for example a restore into read-only production, this is true even though statements_run == 0. The restore dialog then says the file was partly applied when nothing changed.

Fix

Add a statements_run > 0 term, and add a unit test for the all-refused case. The mock has the same fix in #918.

Activity

  1. added
    bug
    on Oct 29, 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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions