This is documentation for the next version of Loki. For the latest stable release, go to the latest version.
Any PRs or commits not on the release branch that you want to include in the release must be backported to the release branch.
Before you begin
Determine the VERSION_PREFIX.
If the release branch already has all the code changes on it, skip this step.
Pick a PR that you want to backport to
Add two labels to the PR. First, one of the
type/bugappropriately. This is to make sure the PRs that are backported are done with right intention. Second
backport release-VERSION_PREFIXlabel. Now CI should automatically create backport PR to the correct release branch. Example PR
CI automation can fail sometimes if there are some merge conflicts in cherry picking the commits. In those cases, the original PR where you added the label should have additional comment explaining how to backport it manually.
The CI job that helps with backporting PR is `.github/workflows/backport.yml`. Useful for debugging purposes.
Repeat the above steps for any PRs that need to be backported.