Skip to content

Deterministic ordering of group value streams

charlie ablett requested to merge 406357-cablett-value-stream-ordering into master

What does this MR do and why?

Deterministic ordering of value streams

Adds case-insensitive alphabetical ordering so value streams are more deterministic.

How to set up and validate locally

  1. In a group or project, create some value streams with slightly different names, different cases (e.g. Aaa, aaa, Bbb)
  2. Visit Analytics -> Value Stream for that group (or a project)
  3. Click the dropdown of value stream names and see the ordering.

image

database things

The introduced scope results in the following:

SELECT "analytics_cycle_analytics_group_value_streams".*
FROM "analytics_cycle_analytics_group_value_streams"
ORDER BY LOWER("analytics_cycle_analytics_group_value_streams"."name") ASC

https://postgres.ai/console/gitlab/gitlab-production-tunnel-pg12/sessions/18829/commands/62659

MR acceptance checklist

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

Related to #406357 (closed)

Edited by charlie ablett

Merge request reports

Loading