Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #7599

Closed
Open
Created Aug 26, 2014 by Administrator@rootOwner

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.

Assignee
Assign to
Time tracking