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

Changed to new socket interface from network library. #266

Merged
merged 2 commits into from
Oct 5, 2023

Conversation

davidv1992
Copy link
Member

No description provided.

@codecov
Copy link

codecov bot commented Sep 22, 2023

Codecov Report

Attention: 113 lines in your changes are missing coverage. Please review.

Comparison is base (9464193) 64.94% compared to head (b6b738c) 65.32%.
Report is 8 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #266      +/-   ##
==========================================
+ Coverage   64.94%   65.32%   +0.37%     
==========================================
  Files          48       48              
  Lines        5263     5188      -75     
==========================================
- Hits         3418     3389      -29     
+ Misses       1845     1799      -46     
Files Coverage Δ
statime-linux/src/config/mod.rs 0.00% <0.00%> (ø)
statime/src/port/mod.rs 3.39% <0.00%> (-0.04%) ⬇️
statime-linux/src/socket.rs 0.00% <0.00%> (-24.79%) ⬇️
statime-linux/src/main.rs 0.00% <0.00%> (ø)

... and 1 file with indirect coverage changes

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

@davidv1992 davidv1992 force-pushed the socket-migration branch 2 times, most recently from de56f4b to 56e67d2 Compare September 28, 2023 09:43
@davidv1992 davidv1992 changed the base branch from main to expose-steering September 28, 2023 09:43
@davidv1992 davidv1992 changed the title Exposed steering state. Changed to new socket interface from network library. Sep 28, 2023
@davidv1992 davidv1992 force-pushed the socket-migration branch 2 times, most recently from 8c0318e to b127816 Compare September 29, 2023 12:33
Base automatically changed from expose-steering to main October 2, 2023 10:16
@davidv1992 davidv1992 marked this pull request as ready for review October 5, 2023 09:15
.await
.unwrap()
.unwrap_or(local_clock.now());
.unwrap();
Copy link
Contributor

Choose a reason for hiding this comment

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

so a missing timestamp is a panic now? and not even a nice panic but an unwrap on a (from the user) arbitrary line?

Copy link
Contributor

Choose a reason for hiding this comment

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

I think this either needs some sort of comment for why unwrapping is OK, or something like an expect or custom panic with more information on what went wrong

Copy link
Member Author

Choose a reason for hiding this comment

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

This is dealt with in the follow up pull request.

@folkertdev folkertdev merged commit a9943e8 into main Oct 5, 2023
4 checks passed
@folkertdev folkertdev deleted the socket-migration branch October 5, 2023 11:48
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