Skip to content

Conversation

@hds
Copy link
Contributor

@hds hds commented May 30, 2025

Motivation

In the case of an event with a name and a parent, the change in #2083
to use a free function instead of a method for is_enabled was not
applied. This particular variant was also not covered by any tests,
which is how this error slipped through CI.

Solution

This change fixes the is_enabled call and adds additional test
coverage for this macros case.

This change was originally submitted by @Mododo in #2983, but we have an
issue where first-time contributor PRs to the v0.1.x branch don't
trigger CI and we can't trigger it manually, so it needed to be
recreated.

In the case of an event with a name and a parent, the change in #2083
to use a free function instead of a method for `is_enabled` was not
applied. This particular variant was also not covered by any tests,
which is how this error slipped through CI.

This change fixes the `is_enabled` call and adds additional test
coverage for this macros case.

This change was originally submitted by @Mododo in #2983, but we have an
issue where first-time contributor PRs to the `v0.1.x` branch don't
trigger CI and we can't trigger it manually, so it needed to be
recreated.
@hds hds requested review from a team and hawkw as code owners May 30, 2025 13:40
@hds
Copy link
Contributor Author

hds commented May 30, 2025

CI should go green once #3283 is merged.

@hds
Copy link
Contributor Author

hds commented Jun 3, 2025

We got the CI to run on #2983 and it's now merged, so we don't need this PR now.

@hds hds closed this Jun 3, 2025
@jplatte jplatte deleted the hds/fix-macros branch June 3, 2025 09:12
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.

3 participants