Skip to content

git-export does not remove commits or tags for rolled-back changes in preview #1356

Description

@alexcottner

It's possible for remote-settings users to rollback their proposed changes that are in the preview collection.

The git-export process does not handle this situation cleanly.
Ex: https://github.com/mozilla/remote-settings-data-stage/tree/v1/timestamps/main-preview/product-integrity/1781106009105

These changes were requested for review and then rolled back. So that commit and tag would need to be removed.

Steps to reproduce:

  1. In admin, make a change and request review
  2. Wait for git-export job to pick up the changes and export them to git
  3. Verify the data git repo now has the commit and tag for the preview bucket
  4. Rollback the changes in admin
  5. Wait for git-export job to run again
  6. Changes are still in the data git repo

┆Issue is synchronized with this Jira Task

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions