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.

  1. Hotfix release = one that must be added to a release after the final release has been made. 
  2. 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.
  3. 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
  4. Get the issue fixed and test on https://folio-snapshot.dev.folio.org/
  5. Any hot fix issue should be approved:
    1. 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.
  6. 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.
  7. 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.
  8. If approved, ask the module maintainer to create a hotfix release and set the JIRA status to Awaiting release.
    1. You can get the module maintainer’s name from the Team Module Responsibility Matrix.
    2. The release needs to go to the appropriate Release branch and the Main branch. 
    3. The release Jira should be linked to the appropriate R2 2021 Hotfix epic, currently FOLREL-490
    4. When the release is made, the module maintainer will announce it on the Slack #releases channel. 
    1. 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
    2. 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)
    3. 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.
    4. 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.
    5. FOLIO hosting team will post notification in #bug-fest Slack channel when update starts and ends. 
    6. 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
    7. Finally, when the issue has passed test in the Bug Fest environment, the PO should change the status to Closed. 
  9. Add information about the hotfix to the R2 Juniper Release Notes page on the wiki, in the Post-release Hotfixes table.
  10. Once the hotfix has passed testing on BugFest, it needs to be deployed to libraries using the current release in production or in sandbox.
    1. For EBSCO-hosted libraries, ask an EBSCO PO or Anton to deploy the fix.
    2. For Index Data-hosted libraries, Wayne Schneider is managing the deployments. 
    3. 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.
  11. 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

  1. 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
  2. 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.
  3. 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.
  4. In the Jira Release field, select R2 2021 Bugfix
  5. Select regression or other options in the RCA Group field when applicable
  6. 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)
  7. 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.
    1. You can get the module maintainer’s name from the Team Module Responsibility Matrix.
    2. The release needs to go to the appropriate Release branch and the Main branch. 
    3. When the release is made, the module maintainer will announce it on the Slack #releases channel. 
  8. 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.
  9. When the release has been created
  10. 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
  11. 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)
  12. 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.
  13. 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.
  14. FOLIO hosting team will post notification in #bug-fest Slack channel when update starts and ends. 
  15. 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
  16. Finally, when the issue has passed test in the Bug Fest environment, the PO should change the Status to Closed