Skip to content

ci: run the restore drill against every release build on the systemd runner #119

Open

Description

@TusanHomichi

Problem or outcome

The #97 restore drill found a data-loss bug (#115) on its first run. The scripted drill (scripts/restore-drill/run.sh) runs on one machine with no systemd and no share, and only when someone runs it. The release workflow already installs every archive on a systemd runner, mounts a copy share, and runs the operator commands.

Scope

  • A release-workflow step on the x86_64 runner:
    1. installs the previous published release with --backup-dir on the mounted share;
    2. seeds invented records with scripts/restore-drill/seed_collect.py and collects the evidence;
    3. removes the installation (systemctl disable --now, delete the data directory);
    4. installs this build with the same --backup-dir, asserts the copy refusal in the journal, restores the newest copy, and runs doctor;
    5. collects again and compares manifests, and runs export verify on every export.

Acceptance criteria

  • A release build that restores different records, hashes, or acknowledgments fails the workflow.
  • A negative control is recorded once: restore an older copy, and the step fails.

Execution record

Activity

  1. added
    enhancement
    on Oct 15, 2026
  2. added
    ready
    on Nov 8, 2026
  3. added
    later
    and removed
    later
    on Nov 23, 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

    enhancementpriority: mediumready

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions