Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: simplify metrics-only blocks #5952

Merged
merged 1 commit into from
Nov 14, 2023

Conversation

AaronFeickert
Copy link
Collaborator

Description

Does minor refactoring of metrics-only blocks to make the analyzer happy.

Motivation and Context

Recent work in #5944 makes metrics a non-default feature. This made the analyzer unhappy due to some unused variables, but it turns out this can be fixed while simplifying some of the handling of metrics-only blocks. This PR makes these changes and keeps the analyzer happy.

How Has This Been Tested?

Existing tests pass.

What process can a PR reviewer use to test or verify this change?

Check that the new metrics-only block handling is identical to that introduced by #5944.

Copy link

Test Results (CI)

1 258 tests   1 258 ✔️  10m 53s ⏱️
     39 suites         0 💤
       1 files           0

Results for commit be817aa.

@ghpbot-tari-project ghpbot-tari-project added P-acks_required Process - Requires more ACKs or utACKs P-reviews_required Process - Requires a review from a lead maintainer to be merged labels Nov 13, 2023
Copy link

Test Results (Integration tests)

31 tests   31 ✔️  14m 22s ⏱️
11 suites    0 💤
  2 files      0

Results for commit be817aa.

Copy link
Collaborator

@SWvheerden SWvheerden left a comment

Choose a reason for hiding this comment

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

haha I added the exact same fixes here: #5947

@ghpbot-tari-project ghpbot-tari-project removed the P-reviews_required Process - Requires a review from a lead maintainer to be merged label Nov 14, 2023
@SWvheerden SWvheerden merged commit b99d6f5 into tari-project:development Nov 14, 2023
14 checks passed
@AaronFeickert
Copy link
Collaborator Author

@SWvheerden: great minds think alike!

@AaronFeickert AaronFeickert deleted the simplify-metrics branch November 14, 2023 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P-acks_required Process - Requires more ACKs or utACKs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants