2021 R2 Juniper PO Bugfix and Hotfix Release Process:
Bugfix = a fix release that happens after the module release deadline, but before the actual release
Hotfix = a fix release that happens after the final flower release, and heads straight to production
NOTE: We are currently in the R2 2021 Juniper HOTFIX process. Bugfix instructions are below these.
This describes the R2 2021 Juniper Hotfix release process. This may be adjusted for future quarterly releases. Prior quarters' Bugfix/Hotfix procedures are saved with the appropriate release.
- Hotfix release = one that must be added to a release after the final release has been made.
- Generally, hotfix releases are not made except for P1 functional, P2 security, and Implementer Showstopper issues. Once a hotfix release has been scheduled, lower priority issues (e.g. P2 and P3 functional issues) may also be included with permission.
- For R2 2021 hotfixes, set Release field of the bug Jira issues to R2 2021 Hot Fix<Number> and make sure the developers doing the fix know that it is needed for a hotfix
- Get the issue fixed and test on https://folio-snapshot.dev.folio.org/
- Any hot fix issue should be approved:
- Once the fix has passed testing in snapshot, post the Jira on the Slack #release_bug_triage channel. POs should present the hotfix Jiras at the next available Capacity Planning meeting, usually held on Mondays at 9 am US ET. Hotfix Approvers are Khalilah Gambrell, Mike Gorrell, Harry Kaplanian, Holly Mistlebauer, Jakub Skoczen and Mark Veksler. Please tag the approvers with your request (can be considered approved if you get the thumbs up from at least two technical approvers (Mike, Mark or Jakub). Request the approval on the Slack release_bug_triage channel. For anything significant, the Capacity Planning Team may ask you to attend their weekly meeting on Monday, to discuss in more detail.
- Once approved, on the issue's Jira, either a member of the Capacity Planning Team or the PO should set the field for Hot Fix Approved by Cap Planning? to yes. Also include details about when the hot fix was approved in the Hot Fix Approval Comments field.
- If a hot fix is not approved, change the Release field to R3 2021 or later, and add comments either in the Hot Fix Approval Comments or in a regular Comment on the Jira.
- If approved, ask the module maintainer to create a hotfix release and set the JIRA status to Awaiting release.
- You can get the module maintainer’s name from the Team Module Responsibility Matrix.
- The release needs to go to the appropriate Release branch and the Main branch.
- The release Jira should be linked to the appropriate R2 2021 Hotfix epic, currently FOLREL-490
- When the release is made, the module maintainer will announce it on the Slack #releases channel.
- The module maintainer will change the bug issue's status to Awaiting deployment. There is no need for the PO or module maintainer to request that the release be deployed
- Jenkins robot automatically generate pull request for the "R2 2021" branch of Platform Complete repository in Github for every released module if version incremented by "patch" number. (For example from 1.1.1 to 1.1.2)
- Manual intervention required if release version requires change of major ( 1.1.1 to 2.0.0) or minor (1.1.1 to 1.2.0) number. In this case PO or Dev lead must notify DevOps and Anton Emelianov (Deactivated) about this change.
- FOLIO hosting team checks for updates of Platform Complete one time per day and updates Bug Fest system with modules that have been released since yesterday's update.
- FOLIO hosting team will post notification in #bug-fest Slack channel when update starts and ends.
- Once daily update has been deployed to Bug Fest, Anton Emelianov (Deactivated) will change the bug issue's status to In bugfix review which is the PO's trigger to do the final round of testing in the Bug Fest environment
- Finally, when the issue has passed test in the Bug Fest environment, the PO should change the status to Closed.
- Add information about the hotfix to the R2 Juniper Release Notes page on the wiki, in the Post-release Hotfixes table.
- Once the hotfix has passed testing on BugFest, it needs to be deployed to libraries using the current release in production or in sandbox.
- For EBSCO-hosted libraries, ask an EBSCO PO or Anton to deploy the fix.
- For Index Data-hosted libraries, Wayne Schneider is managing the deployments.
- Self-hosted libraries will need to decide whether to implement the hotfix or not, based on the announcement on the Slack releases channel or the release notes.
- If hotfixes are deployed by hosting providers, they should notify the libraries using the current release in production or sandbox that a hotfix has been deployed
This describes the R2 2021 Juniper Bugfix release process (fixes being released after the initial release, but before the final Juniper deadline). This will be adjusted for future releases
- Bugfix = fix that happens after the module release deadline, but before the actual release. Juniper release schedule Most of these issues will be identified during BugFest R2 2021 Juniper BugFest
- Set Release field of the bug Jira issues to R2 2021 Bug Fix and let the developers doing the fix know that it is needed ASAP for a bugfix, definitely before the Juniper release. Do not confuse with the Fix version field, which should reflect the release version the fix will be included in.
- Label the bug Jira issues with bugfest_r2.2021 if the bug is found by a community tester during BugFest (this allows us to keep statistics on the bugs produced during that process. Don't forget to link Jira issue to TestRail test case.
- In the Jira Release field, select R2 2021 Bugfix
- Select regression or other options in the RCA Group field when applicable
- Get the issue fixed and test on https://folio-snapshot.dev.folio.org/ (if possible - some performance issues that don't repro on snapshot will have to skip snapshot testing and be tested on the Bug Fest environment, instead)
- No permission is required for bugfixes before the release deadline. Once the fix has passed testing in snapshot, change the status to the "Awaiting release" and ask the module maintainer to create a bugfix release.
- You can get the module maintainer’s name from the Team Module Responsibility Matrix.
- The release needs to go to the appropriate Release branch and the Main branch.
- When the release is made, the module maintainer will announce it on the Slack #releases channel.
- Create a release ticket for the module and assign R2 2021 Bugfix Epic. Be sure that each bug in the release has the correct release version assigned to it.
- When the release has been created
- The module maintainer will change the bug issue's status to Awaiting deployment, and the Resolution to Closed. There is no need for the PO or module maintainer to request that the release be deployed
- Jenkins robot automatically generate pull request for the "R1 2021" branch of Platform Complete repository in Github for every released module if version incremented by "patch" number. (For example from 1.1.1 to 1.1.2)
- Manual intervention required if release version requires change of major ( 1.1.1 to 2.0.0) or minor (1.1.1 to 1.2.0) number. In this case PO or Dev lead have to notify DevOps and Anton Emelianov (Deactivated) about this change.
- FOLIO hosting team checks for updates of Platform Complete one time per day and updates Juniper Bug Fest system with modules that have been released since yesterday's update.
- FOLIO hosting team will post notification in #bug-fest Slack channel when update starts and ends.
- Once daily update has been deployed to Bug Fest, Anton Emelianov (Deactivated) will change the bug issue's status to In bugfix review which is the PO's trigger to do the final round of testing in the Bug Fest environment
- Finally, when the issue has passed test in the Bug Fest environment, the PO should change the Status to Closed