Charm Tech pulse 2024#25

This pulse saw significant performance improvements to unit testing using ops[testing], as well as (ongoing) improvements to the pebble documentation, including a number of upcoming how-to guides. Additionally, there were releases for python-libjuju (a fix for 2.9) and operator-libs-linux (deb822 support for the apt library). Work continues on writing specifications for projects, including the Juju CLI wrapper for integration testing, validation and type checking for relation data, unified file handling for machine and k8s charms, the pebble metrics endpoint, and disabling pebble checks.

Ops

  • Addressed some performance issues, particularly regressions from earlier versions, in the state transition testing framework (Scenario). We’re looking into whether the current improvements are sufficient for the next release, or if we’ll do a bit more at this time

Charming

  • Began work on a (currently braindump) spec for a new attempt at improving schema use for config, actions parameters, and (particularly) relation data
  • Continued work on the Juju CLI wrapper library for integration testing. We’ve named it jubilant, and set up a skeleton GitHub repo for future work
  • Released pypi:juju 2.9.49.1
  • Working towards the next release of pypi:juju 3.6.0.x
  • Updated the operator-libs-linux apt library to support deb822 format source files
  • Also refactored the the apt.RepositoryMapping.add method to use add-apt-repository
  • Began work on a spec + prototype for a library that provides a unified interface for file handling in machine and k8s charms. Feel free to reach out if this is of interest to you, or if there are any higher level file handling operations you’d like support for

Pebble

  • Adjusted the spec for adding the ability to disable Pebble checks
  • Combined the CLI command docs into a single page
  • Linked to the release notes from the docs homepage
  • Continue working on the Pebble metrics endpoint (PoC PR here), an initial spec review is finished on the basic auth/identity part, and further investigation on password hashing is ongoing.

Documentation

  • We have started working on an OpenAPI 3.0 spec for Pebble HTTP API, which will be integrated with the Pebble documentation website. Here is the proof of concept.
  • We have planned five how-to guides for Pebble. Stay tuned!
1 Like