Skip to content

Cleanup Project Value Stream and Stage models

Adam Hegyi requested to merge ah-remove-project-vs-and-stage into master

What does this MR do and why?

This MR removes the ProjectValueStream and ProjectStage models and replaces them with the ValueStream and Stage models. The models will be used on both project and group level views via the namespace record: &9295 (closed)

The models were never persisted in the DB, they acted as in-memory objects. The database tables will be removed in 16.0.

Related issue: #382500 (closed)

How to set up and validate locally

Verify that the FOSS version of project-level VSA works

  1. Seed VSA: SEED_CYCLE_ANALYTICS=true SEED_VSA=true FILTER=cycle_analytics rake db:seed_fu
  2. Go to the printed-out project path
  3. Open the network tab in your browser
  4. Navigate to Analytics -> Value Stream
  5. All network requests should succeed (no 500 errors) and the page should show some numbers.

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 Adam Hegyi

Merge request reports