[Task]: Backfill data for existing ActivityLogs that are missing reasons. #15354
Labels
needs:info
repository:addons-frontend
Issue relating to addons-frontend
repository:addons-server
Issue relating to addons-server
Description
Once we fix #15352 we'll want to backfill data to make sure past
ActivityLog
for actual rejections after a delay have the rightReviewActionReasons
attached (throughReviewActionReasonLog
- that should happen automatically when aReviewActionReasons
instance is added to the arguments of theActivityLog
), starting from 2025-01-This should happen through a one-off management command firing a task.
Cinder decisions need to be updated as well. Each
ReviewActionReason
is linked to aCinderPolicy
and eachContentDecision
is linked toCinderPolicy
through a M2M. When we create decisions in Cinder, we pass a list ofpolicy_uuids
corresponding to the policies attached to the decision. That needs to be replicated to backfill the data in Cinder - this might require a new API on their side to edit a decision, as they are not supposed to be changed so the API to do that might not exist yet.Acceptance Criteria
Milestones/checkpoints
Checks
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: