Skip to content

fix: remove tags when deleting metrics (close #70)#75

Merged
daniil-berg merged 3 commits intomainfrom
fix/remove-tags-on-metric-deletion
Apr 2, 2026
Merged

fix: remove tags when deleting metrics (close #70)#75
daniil-berg merged 3 commits intomainfrom
fix/remove-tags-on-metric-deletion

Conversation

@malteschmitz
Copy link
Copy Markdown
Collaborator

Adds a test case confirming the issue described in #70 and implements a straightforward fix for it.

Copy link
Copy Markdown
Owner

@daniil-berg daniil-berg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great addition and especially because you cover it with a test. :)

Can you just replace the qualified names with imports?

Comment thread tests/metrics_manager_test.php Outdated
This test is about the deletion of the metric and not its creation, so adding the metric to the database is the test setup and thus done manually.
@daniil-berg daniil-berg merged commit 5fa0e14 into main Apr 2, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants