4.2->7.1: last_activity_at not populated
Created by: bbodenmiller
Sometime during the upgrade process from 4.2 to 7.1 it appears last_activity_at
was added (looks like 5.1 as per https://github.com/gitlabhq/gitlabhq/commit/734d6fcdf00846364fa39fc374753b7ea2cef603 & https://github.com/gitlabhq/gitlabhq/commit/4496a747c669611e35d758c994ed7ee9a235985a). Unfortunately it does not appear the upgrade process populates an initial last_activity_at
date as I have many projects reporting no activity despite having a commit 4 months ago (pre-upgrade).
A migration should be added to go through and populate the last_activity_at
date for all projects where last_activity_at: nil
. last_activity_at
should be the latest of project creation date, lastest wiki change, latest issue change, latest merge request change, and latest commit. This migration cannot be addressed until https://github.com/gitlabhq/gitlabhq/issues/7750 is addressed.