Closed roby2014 closed 2 months ago
PR Preview Action v1.4.7
:---:
:rocket: Deployed preview to https://GameDevTecnico.github.io/cubos/docs-preview/pr-1153/
on branch gh-pages
at 2024-06-12 18:11 UTC
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 40.70%. Comparing base (
da70041
) to head (1a4000a
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Since this PR is still blocked on the other one, I'm marking it as a draft. Does it really depend on the other PR though? They seem mostly unrelated.
It does not depend anymore yeah, you're right.
Eh no idea why static analysis is failing
Eh no idea why static analysis is failing
It's an error in the action. It's trying to dismiss a review which no longer exists and crashes. We can safely ignore it. TL;DR: not a problem in your code. @joaomanita @diogomsmiranda pls review when you have the chance.
I also didn't understand the need to make such a sample basically copying from the test. Shouldn't we make something more in tune with what would be a real example?
I also didn't understand the need to make such a sample basically copying from the test. Shouldn't we make something more in tune with what would be a real example?
Agree, we should avoid this, could you improve it @roby2014?
I would rather have the metrics to be explicitly generated with different names and contexts. But if @RiscadoA is ok with a sample like this It's not a deal breaker for me either.
I would rather have the metrics to be explicitly generated with different names and contexts. But if @RiscadoA is ok with a sample like this It's not a deal breaker for me either.
Can you give me an example? What should I sample?
I also didn't understand the need to make such a sample basically copying from the test. Shouldn't we make something more in tune with what would be a real example?
@roby2014 thank you for addressing this! LGTM
You can ignore the failing lint check btw, feel free to just press merge
Description
Check the sample for usage
TLDR: The goal is to have a simple but extendible core class to register, search and debug metrics, with a compiler option to enable it
Checklist