Skip to content

Conversation

@iuioiua
Copy link
Contributor

@iuioiua iuioiua commented Sep 5, 2024

As Deno.metrics() is now removed from the runtime. Disclaimer: I'm not very familiar with this codebase. I'm not sure if there are other things that could be cleaned up.

}

#[derive(Default, Debug)]
pub struct OpMetricsSummaryTracker {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

IIUC, core.metrics() was the only symbol that used this struct.

Copy link
Member

Choose a reason for hiding this comment

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

I believe this is actually used by the deno test for leaking ops discovery. This should most likely stay. See runtime/worker.rs in Deno repo.

@irbull
Copy link
Contributor

irbull commented Sep 6, 2024

I've filed a PR for the failing builds in deno_core. #895

@codecov-commenter
Copy link

codecov-commenter commented Sep 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.67%. Comparing base (0c7f83e) to head (448d2c3).
Report is 117 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #896      +/-   ##
==========================================
+ Coverage   81.43%   81.67%   +0.23%     
==========================================
  Files          97       98       +1     
  Lines       23877    24668     +791     
==========================================
+ Hits        19445    20147     +702     
- Misses       4432     4521      +89     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

}

#[derive(Default, Debug)]
pub struct OpMetricsSummaryTracker {
Copy link
Member

Choose a reason for hiding this comment

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

I believe this is actually used by the deno test for leaking ops discovery. This should most likely stay. See runtime/worker.rs in Deno repo.

@iuioiua
Copy link
Contributor Author

iuioiua commented Sep 12, 2024

Please merge, @bartlomieju

@bartlomieju bartlomieju merged commit dfc37c6 into denoland:main Sep 12, 2024
@iuioiua iuioiua deleted the remove-metrics branch September 12, 2024 10:27
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.

4 participants