Include additional context in the Update Gitaly version MRs
Context
The Update Gitaly version MRs are automatically created by the GitLab Release Tools Bot to deploy changes in Gitaly into production. Example: gitlab!150603 (merged)
The MR updates the commit hash in the GITALY_SERVER_VERSION
file to that of the latest green commit in the default branch of gitlab-org/gitaly
. Depending on when the bot runs and how many MRs were merged into gitlab-org/gitaly
between runs, a single update to GITALY_SERVER_VERSION
may in fact bundle changes from multiple MRs.
Unfortunately, the Update Gitaly version MR doesn't provide at-a-glance context on what changes are actually being deployed. The programmer would need to manually produce a diff using the current and incoming hash in GITALY_SERVER_VERSION
.
Proposal
Modify the GitLab Release Tools Bot so additional context is added to the MR description. It would be useful for instance to have quick access to the following:
- A link to the diff between the last deployed and current SHAs. I think we can basically string together a GitLab URL to do this, rather than computing the diff and inserting it in the MR itself.
- A link to the previous merged Update Gitaly version MR.
- A links to relevant dashboards:
- Prometheus (feature flag usage)
- Grafana (Gitaly overview)