Please review mysql-router-k8s for listing on Charmhub

The Charmed MySQLRouter K8s offering is a database proxy for MySQL clusters with Group Replication. It sits between the client application and the MySQL cluster.

PR for code review: https://github.com/canonical/mysql-router-k8s-operator/pull/224

Metadata links

CI Links

Documentation Links

Thanks @shayanp for the review request! @ca-scribner can you please help with this review? You can go through and tick off the items on the checklist available here and post the result in this thread. This prior listing request could be used as an example.

Hey @varshigupta, am I the person you meant to @? Confirming because this is the first I’m hearing of this, and I don’t have much background on the task.

Thanks!

@ca-scribner I usually assign the charm review requests to the engineering folks under charm engineering org. I’ll reassign this to someone else if you feel like you don’t have enough context on it.

@ghibourg can you please help with this review? You can go through and tick off the items on the checklist available here and post the result in this thread. This prior listing request could be used as an example.

Checked Review item Objective Review criteria
Intended functionality Despite all the items for publication readiness, the charm must work. Charm does what it is meant to do - ideally done in a demo.
Charmhub.io charm detail page A complete and consistent appearance of the charm is required for a quality impression of the charm collection. The overall appearance looks good, which means:
Source repository Generally, the source code for charms must be accessible by the community for transparency and collaboration. It is not entirely mandatory to have the charm published as OSS for review, but the repository must be accessible from the persons working on the review request.
Coding conventions The source code of the charm is accessible in the sense of approachability. Consistent source code style and formatting are also considered a sign of being committed to quality. The implemented checks for coding conventions are reasonable and implemented in the regular CI/CD implementation.
Release automation implementation An implementation for automated releasing to charmhub.io improves the ability to provide updates covering vulnerabilities quickly. Release automation for unstable channels to enable testing when new versions of the charm code or the workload become available.
Unit tests implementation In particular, for the charms review, assuring a reasonable test suite is essential to allow for automated releases in future. The unit tests show relevant coverage. It is a case-dependent review.At the time of review, the test runs successfully.
Unit tests results Availability of test results is mandatory for a working collaborative project. URL to test results from CI/CD automation.
Installation test implemented (could be part of the integration test) In particular, for the charm review, assuring a reasonable test suite is essential to allow for automated releases in future. With this test, for every build, it is ensured that the installation is successful. An implementation for checking the installation is present. The implementation should also check for successful installation as part of the automation, and the workload behaves as expected. At the time of review, the test runs successfully.
Installation test results Availability of test results is mandatory for a working collaborative project. URL to test results from CI/CD automation.
Integration tests implemented In particular for the review of charms, assuring a reasonable test suite is important to allow for automated releases in future. With this test, for every build, it is ensured that the integration with other charms is successful. An implementation for testing the required integrations (if applicable) is present. The implementation should also check for successful integration as part of he automation and the workload behaves as expected. At the time of review, the test runs successfully.
Integration test results Availability of test results is mandatory for a working collaborative project. URL to test results from CI/CD automation.
Documentation for usage The documentation for using the charm should be separate from the documentation for developing or contributing to the charm. URL to this documentation is present.
Documentation for contributing The documentation for contributing to the charm should be separate from the documentation for developing or using the charm. URL to this documentation is present.
Licensing statement For the charm shared, OSS or not, the licensing terms of the charm are clarified (which also implies an identified authorship of the charm). URL to the ruling licensing statement is present.

I left some comments on the PR for the source review. For the unit tests, the coverage report is not generated, making it hard to validate the coverage.

The comments I provided on the PR and here could be addressed in future improvements. I think this charm is ready for listing.

1 Like

Thanks @ghibourg! @odysseus-k Can you please help with listing this charm?

Hi,

This is now done.

Thanks,

Odysseus