Skip to content

Create chatops command to validate if a specific MR is included in a specific package

During incidents, there's a common question of whether a certain MR is included in a specific package. We usually check this manually by going to the auto-deploy branch and then searching for the merge commit SHA. This is hard for packages containing hundreds of commits (which usually happens when there's a series of incidents that are blocking us) and also for those incidents with multiple MRs under investigation.

Another way (as suggested by @siddharthkannan) is using glab CLI. (Bash function using glab, an example on internal Slack).

During those incidents where the tension is high, especially for release managers, it will be great if we have a tool that can tell us just a straightforward yes or no if the MR is in the said package.

It will be even better if we can determine the first package that includes the given MR.

Exit Criteria

  • Chatops command that can check if one or more of the given MRs is in the given package, the output can be just yes or no for each MR.
  • Optional: The output can also include if this is the first package that include the MR. If not, it should include the package name with link
Edited by Mawreen Dela Cruz