cht-core icon indicating copy to clipboard operation
cht-core copied to clipboard

Release 3.16.0

Open mrjones-plip opened this issue 2 years ago • 3 comments

Planning - Product Manager

  • [X] Create a GH Milestone for the release. We use semver so if there are breaking changes increment the major, otherwise if there are new features increment the minor, otherwise increment the service pack. Breaking changes in our case relate to updated software requirements (egs: CouchDB, node, minimum browser versions), broken backwards compatibility in an api, or a major visual update that requires user retraining.
  • [x] Add all the issues to be worked on to the Milestone. Ideally each minor release will have one or two features, a handful of improvements, and plenty of bug fixes.
  • [x] Identify any features and improvements in the release that need end-user documentation (beyond eng team documentation improvements) and create corresponding issues in the cht-docs repo
  • [x] Assign an engineer as Release Engineer for this release.

Development - Release Engineer

When development is ready to begin one of the engineers should be nominated as a Release Engineer. They will be responsible for making sure the following tasks are completed though not necessarily completing them.

  • [ ] Set the version number in package.json and package-lock.json and submit a PR. The easiest way to do this is to use npm --no-git-tag-version version <major|minor>.
  • [x] (NB - skipping for 3.16) Raise a new issue called Update dependencies for <version> with a description that links to the documentation. This should be done early in the release cycle so find a volunteer to take this on and assign it to them.
  • [ ] Write an update in the weekly Medic Product Team call agenda summarising development and acceptance testing progress and identifying any blockers (the milestone-status script can be used to get a breakdown of the issues). The release Engineer is to update this every week until the version is released.

Releasing - Release Engineer

Once all issues have passed acceptance testing and have been merged into master release testing can begin.

  • [x] (NB - for 3.16.x we should branch off 3.15.x and cherry pick in relevant commits b/c master has breaking changes slated for 4.0.0. ALL commits to master FIRST then pick back to 3.16.x!!) Create a new release branch from master named <major>.<minor>.x in cht-core. Post a message to #development using this template:
@core_devs I've just created the `<major>.<minor>.x` release branch. Please be aware that any further changes intended for this release will have to be merged to `master` then backported. Thanks!
  • [x] Build a beta named <major>.<minor>.<patch>-beta.1 by pushing a git tag and when CI completes successfully notify the QA team that it's ready for release testing.
  • [x] Announce the start of release testing on the CHT forum, under the "Product - Releases" category using this template:
*Release testing has started for {{version}} of {{product}}*

To get a sneak peak at this upcoming release, you can install `<major>.<minor>.<patch>-beta.1` on your testing environment. We suggest you test your forms and workflows with this release candidate version and raise any issues that you experience. This helps to to discover any potential regressions that wouldn't otherwise be caught during release testing.

Keep an eye on the forum for the release announcement in the next couple of weeks!
  • [ ] Add release notes to the Core Framework Releases page:
    • [x] Create a new document for the release in the releases folder.
    • [x] Ensure all issues are in the GH Milestone, that they're correctly labelled (in particular: they have the right Type, "UI/UX" if they change the UI, and "Breaking change" if appropriate), and have human readable descriptions.
    • [x] Use this script to export the issues into our release note format.
    • [x] Manually document any known migration steps and known issues.
    • [x] Provide description, screenshots, videos, and anything else to help communicate particularly important changes.
    • [x] Document any required or recommended upgrades to our other products (eg: cht-conf, cht-gateway, cht-android).
    • [x] Add the release to the Supported versions and update the EOL date and status of previous releases. Also add a link in the Release Notes section to the new release page.
    • [ ] Assign the PR to:
      • The Director of Technology
      • An SRE to review and confirm the documentation on upgrade instructions and breaking changes is sufficient
  • [x] Until release testing passes, make sure regressions are fixed in master, cherry-pick them into the release branch, and release another beta.
  • [x] Create a release in GitHub from the release branch so it shows up under the Releases tab with the naming convention <major>.<minor>.<patch>. This will create the git tag automatically. Link to the release notes in the description of the release.
  • [x] Confirm the release build completes successfully and the new release is available on the market. Make sure that the document has new entry with id: medic:medic:<major>.<minor>.<patch>
  • [ ] Execute the scalability testing suite on the final build and download the scalability results on S3 at medic-e2e/scalability/$TAG_NAME. Add the release .jtl file to cht-core/tests/scalability/previous_results. More info in the scalability documentation.
  • [x] Upgrade the demo-cht.dev instance to this version.
  • [x] Announce the release on the CHT forum, under the "Product - Releases" category using this template:
*We're excited to announce the release of {{version}} of {{product}}*

New features include {{key_features}}. We've also implemented loads of other improvements and fixed a heap of bugs.

Read the [release notes]({{url}}) for full details.

Following our support policy, versions {{versions}} are no longer supported. Projects running these versions should start planning to upgrade in the near future. For more details read our [software support documentation](https://docs.communityhealthtoolkit.org/core/releases/#supported-versions).

Check out our [roadmap](https://github.com/orgs/medic/projects/112) to see what we're working on next.
  • [x] Add one last update to the Medic Product Team call agenda and use this meeting to lead an internal release retrospective covering what went well and areas to improve for next time.
  • [ ] Mark this issue "done" and close the Milestone.

mrjones-plip avatar Jun 28 '22 20:06 mrjones-plip

jkuester removed this from the 3.16.0 milestone 5 days ago

@jkuester - was this intentional? I was looking for the last open ticket (this one) on 3.16 and was confused it was gone. No biggie, but wanted to not add the release ticket to the milestone in the future if we're not keeping 'em there

mrjones-plip avatar Aug 08 '22 16:08 mrjones-plip

@mrjones-plip sorry! I was getting an error when trying to generate the release notes since the script did not like the Internal process type (same thing has happened for previous releases I have done). Looking at this again I see that it is because I was running an older version of the script that had not be updated to include the Internal process type.

jkuester avatar Aug 09 '22 14:08 jkuester

all good - thanks!

mrjones-plip avatar Aug 09 '22 23:08 mrjones-plip

@njogz @jkuester @mrjones-plip can we close this ticket?

latin-panda avatar Oct 11 '22 02:10 latin-panda