canonical / charm-relation-interfaces

https://canonical.github.io/charm-relation-interfaces/
Apache License 2.0
16 stars 48 forks source link

Update models and interface tests for `tracing` and `tempo_cluster` to match current state #174

Closed mmkay closed 1 month ago

mmkay commented 2 months ago

This PR updates tracing and tempo_cluster interface definitions and their respective interface tests. It also:

In order for the tests to pass, this PR requires https://github.com/canonical/tempo-worker-k8s-operator/pull/27 and https://github.com/canonical/tempo-coordinator-k8s-operator/pull/32 to be merged first.

Context

simskij commented 2 months ago

@benhoyt @tonyandrewmeyer @dimaqq @IronCore864: could one of you have a look at this one? I preferably don't want to approve my own team's PRs.

dimaqq commented 2 months ago

Main question: what does "to match current state" (PR heading) mean? Context additional to the PR description would also help 🙏🏻

mmkay commented 1 month ago

Main question: what does "to match current state" (PR heading) mean? Context additional to the PR description would also help 🙏🏻

@dimaqq: I have added an explanation in the description of the PR. Hope it explains the changes well enough but please feel free to ask to clarify anything that still seems off.

tonyandrewmeyer commented 1 month ago

For the failing tests, I think @canonical/charm-tech need to do some additional work in getting both this repo and pytest-interface-tester to be fully Scenario 7 compatible. @IronCore864 and/or I will work on that today.

IronCore864 commented 1 month ago

Per discussion on Mattermost, this PR has been reviewed and tested locally, and everything passes. Regarding the failed quality checks (unit tests and integration tests), please merge the main branch (which contains the fix here). @mmkay