Deterministic ordering of group value streams
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
- In a group or project, create some value streams with slightly different names, different cases (e.g. Aaa, aaa, Bbb)
- Visit
Analytics
->Value Stream
for that group (or a project) - Click the dropdown of value stream names and see the ordering.
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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #406357 (closed)
Edited by charlie ablett