[Feature flag] Rollout of `paginate_commit_view`
What
Experimenting with paginating the single commit view to even out the worst-performing instances of this page.
Related !52819 (merged)
Owners
- Team: Source Code
- Most appropriate slack channel to reach out to:
#g_create_source-code-be
- Best individual to reach out to: robotmay (on Slack), @robotmay_gitlab (on GitLab)
Expectations
Pagination will appear on large single commit views, e.g. gitlab-runner@47bf51a1.
What are we expecting to happen?
- Pagination to appear
- 99th/95th percentile times to drop notably
What might happen if this goes wrong?
- 500 errors if some unforseen circumstance makes the view fail to render
What can we monitor to detect problems with this?
- Sentry
Beta groups/projects
If applicable, any groups/projects that are happy to have this feature turned on early. Some organizations may wish to test big changes they are interested in with a small subset of users ahead of time for example.
-
gitlab-org/gitlab
project -
gitlab-org/gitlab-runner
project -
gitlab-org
/gitlab-com
groups
Roll Out Steps
-
Enable on staging ( /chatops run feature set paginate_commit_view true --staging
) -
Test on staging -
Ensure that documentation has been updated -
Enable on GitLab.com for individual groups/projects listed above and verify behaviour ( /chatops run feature set --project=gitlab-org/gitlab paginate_commit_view true
) -
Coordinate a time to enable the flag with the SRE oncall and release managers - In
#production
mention@sre-oncall
and@release-managers
. Once an SRE on call and Release Manager on call confirm, you can proceed with the rollout
- In
-
Announce on the issue an estimated time this will be enabled on GitLab.com -
Enable on GitLab.com by running chatops command in #production
(/chatops run feature set paginate_commit_view true
) -
Cross post chatops Slack command to #support_gitlab-com
(more guidance when this is necessary in the dev docs) and in your team channel -
Announce on the issue that the flag has been enabled -
Remove feature flag and add changelog entry -
After the flag removal is deployed, clean up the feature flag by running chatops command in #production
channel
Rollback Steps
-
This feature can be disabled by running the following Chatops command:
/chatops run feature set --project=gitlab-org/gitlab paginate_commit_view false
Edited by Robert May