← Back to issue list

chore: update pytest logging options in k8s and machine profiles

View original Github issue

Metadata

Project
charmcraft
Number
#2769
Type
pull request
State
merged
Author
tromai
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #2769, updating pytest logging options in the k8s and machine profiles to enable Jubilant’s new logging behavior.

Resolution: closed resolved

Reason: PR #2769 was merged after approval by three reviewers and resolution of merge conflicts. Its pyproject.toml changes enable the logging behavior introduced by Jubilant PR #351.

Evaluated by: mr-cal-bot

No scores available.

Issue body

This PR update pytest's logging options in `pyproject.toml`, for k8s and machine profiles. We recently made a change to how Jubilant logs (see https://github.com/canonical/jubilant/pull/351). The changes in this PR enable that Jubilant logging feature. --- - [x] I've followed the [contribution guidelines](https://github.com/canonical/charmcraft/blob/main/CONTRIBUTING.md). - [x] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/). - [x] I've successfully run `make lint && make test`. - [x] I've added or updated any relevant documentation. - [x] In documents I changed, I [added a meta description](https://canonical-starflow.readthedocs-hosted.com/how-to/add-a-page-meta-description/) if one was missing. - [ ] I've updated the relevant release notes.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #2769, updating pytest logging options in the k8s and machine profiles to enable Jubilant’s new logging behavior.
stealth/space-bunny-alpha — closed resolved Merged pyproject.toml updates for k8s and machine profiles, enabling Jubilant’s new pytest logging behavior; approved by three reviewers with no unresolved comments.
qwen/qwen3.6-35b-a3b — — Merged after resolving conflicts. Updates pytest logging options in k8s and machine profiles to support new Jubilant logging features. Approved by three reviewers with passing CI checks. File logging was deferred to a future roadmap update.
qwen3.6-35b-a3b-mtp-q6
Staleness: 5
Complexity: 15
Confidence: 90
needs review Updates pytest logging configuration in pyproject.toml for k8s and machine profiles to align with Jubilant logging changes. Currently unreviewed and awaiting maintainer evaluation.

Update history

Date Change
updated

Related work

  • Related To: jubilant#351 (confidence 99%)

    The updated pytest options enable the logging changes introduced by this Jubilant PR.

Related issues

Issue Project State Summary Similarity
#2863 chore: remove live logging from pytest configs in k8s and machine profiles charmcraft merged Merged PR #2863 as commit a03f4ccb, removing live pytest logging (`log_cli` and `log_cli_level`) from the Kubernetes and machine profiles.
78%
#2430 feat(templates): use Jubilant for integration tests of K8s and machine profiles charmcraft merged Merged PR #2430 as commit 449d3962, switching generated Kubernetes and machine profile integration tests from pytest-operator to Jubilant, with new fixtures and docs.
72%