This busy pulse saw many releases: Ops 3.10.0, Jubilant 1.15.0, Concierge 1.10.0, Charmlint 0.4.0, charmlibs.snap 2.1.0 and 2.2.0, and charmlibs.pathops 1.4.0 and 1.4.1. The Hyrum documentation is now hosted at canonical.com/juju/docs/hyrum, and we added several new documentation pages: How to set up production integrations, How to document an interface, and How to migrate your charm to a charmlibs package.
Ops
- Released Ops 3.10.0.
- Added a Hypothesis property test suite to Ops, with a nightly run (#2869). Worked on running the property-tests branch’s tests nightly (#2897) and adding property tests for Pebble multipart parsing and Go time parsing (#2911).
- Progressed the multi-charm testing work: finding a charm’s Python dependencies from its build plugin (#2880), running a charm’s events in a persistent worker process (#2902), and, in draft, a private multi-charm model (#2913) with peer relations (#2914) and
config/to_context(#2915). - Modelled
juju-*-proxymodel configs from Juju (#2832). - Fixed a variety of small ops bugs (#2851, #2870, #2855, #2901, #2857, #2878, #2877, #2876, #2875, #2872, #2871).
Charming
- Released Charmlint 0.4.0, with three new rules.
- Released Concierge 1.10.0, which will log the version and revision when installing snaps (#273).
- Released Jubilant 1.15.0, which will report wait duration, support refresh’s switch option, and
--ssh-keyinsshandscp. - Let the Hyrum charm list pin a repository to a commit (#215), and worked on keeping markers and scope companions to the arrays that declare ops in uv projects (#213), and patching ops in local path dependencies inside the repository (#214).
- Fixed a dependency issue in pytest-jubilant, which now requires Jubilant 1.7, which added
Juju.model_constraints(#138). - Changed the Jubilant integration tests to use the
3.6track instead of3(#468). - Drafted a spec for modelling Pebble service behaviour in ops.testing.
- Drafted a spec for generating charmcraft YAML from Python classes.
- Started work on a spec for property testing in multiple-charm tests.
Charmlibs
- Added How to document an interface (#546).
- Added How to migrate your charm to a charmlibs package (#785).
- Added
snap.system_info()andSystemInfo.architecturein 2.1.0, which lets charms find the system’s userspace architecture, useful for choosing the correct snap revision to install (#784). - Added
snap.ensure_vitality_hintin 2.2.0, which charms can call to protect their snaps’ services from the OOM killer (#709). - Released
pathops1.4.0, which addsContainerPath.is_relative_to,PathProtocol.with_stem(includingContainerPathimplementation), and improvements toContainerPath.match(#761). - Updated
ContainerPath.is_symlink,rmdir, andunlinkto treat names literally rather than as patterns inpathops1.4.1 (#765). - Moved Charmlibs integration tests to pytest-jubilant’s
jujufixture: the template and examples (#775),pathops(#776),rollingops(#777), andnginx_k8s(#779), withslothin progress (#778). - Made updates and corrections to interface schemas (#661, #738, #746).
- Fixed flaky tests: used the fish release-4 PPA for the apt higher-version test (#787), waited for the
systemdtest service to reach the failed state (#788), acceptedsnapd2.78 wording for invalid option names (#783), and waited for in-progress snap auto-refreshes to complete mid-test (#747). - Added
CODEOWNERSto remaining interfaces (#733) and add a CI check to ensure all code has an owner (#587). - Made improvements and fixes to the library documentation build process (#637, #808 , #809).
- In
kratos_external_idp: worked on comparing the provider enum in the schema validators (#781). - Worked on setting ownership and mode before writing file contents in
pathops(#773), running the K8s integration tests on Canonical K8s (#772), and a--format-onlyoption forjust format(#771).
Pebble
- Added a package for parsing and evaluating schedule strings, groundwork for scheduling in Pebble (#1138)
- Finalised schedule syntax parsing (#1138)
- Fixed bug around memory usage in log backscroll (#1135)
- Worked on adding an option to gate a service on startup health checks succeeding before it enters the “running” state, with a new
on-check-successoption added to services in plan layers (#1156) - Fixed prometheus metrics names for conformance (#1124)
- Reject non-positive period in check validation (#1126)
- Handle all service names when parsing logs (#1129)
- Reviewed and merged various community fixes (#1134, #1136, #1144)
Documentation
- In the Ops docs: fixed the Jubilant module name in the opened ports example (#2844) and said that
pebble.CheckInfo.levelisUNSETwhen there’s no level (#2879). - Updated the Ops docs to match
kubernetesandmachineprofile changes in Charmcraft 4.5. Also fixed several lingering issues in the Kubernetes and machine charm tutorials (#2889, #2890, #2893, #2904, #2907). - Moved the Hyrum documentation to canonical.com/juju/docs/hyrum.
- Added How to set up production integrations (#2835).
- Worked on a how-to manage proxy configs guide.