Skip to content

Improve custom VSA seed

Felipe Artur requested to merge issue_413259 into master

What does this MR do and why?

Introduce some fixes and improvements to 30_customizable_cycle_analytics.rb seed:

  • Creates a new group with a project in case PROJECT_ID parameter is not provided
  • Increase number of issues creates to 25
  • Increase the date range to 20 days so charts looks better
  • Fix not merged MRs
  • Fix VSA cycle time
  • Fix issues mentioned in a commit and then closed
  • Add deployments data

All VSA custom stages now have data

related to #413259 (closed)

How to set up and validate locally

  1. Run the seed with FILTER=customizable_cycle_analytics SEED_CUSTOMIZABLE_CYCLE_ANALYTICS=1 bundle exec rake db:seed_fu
  2. On a rails console session run Analytics::CycleAnalytics::ReaggregationWorker.new.perform

Go to group VSA and all charts should be present

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Felipe Artur

Merge request reports