Skip to content

Split NTP protocol specific snapshot from SystemSnapshot#2135

Merged
rnijveld merged 20 commits intoorganization-reworkfrom
proto-communication-split
Apr 16, 2026
Merged

Split NTP protocol specific snapshot from SystemSnapshot#2135
rnijveld merged 20 commits intoorganization-reworkfrom
proto-communication-split

Conversation

@rnijveld
Copy link
Copy Markdown
Member

No description provided.

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 27, 2026

Codecov Report

❌ Patch coverage is 64.88372% with 151 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.44%. Comparing base (b255850) to head (3d769f2).
⚠️ Report is 20 commits behind head on organization-rework.

Files with missing lines Patch % Lines
ntpd/src/daemon/system.rs 0.00% 67 Missing ⚠️
ntp-proto/src/system.rs 55.68% 39 Missing ⚠️
ntp-proto/src/algorithm/mod.rs 35.59% 38 Missing ⚠️
ntp-proto/src/packet/mod.rs 85.71% 4 Missing ⚠️
ntp-proto/src/source.rs 94.82% 3 Missing ⚠️
Additional details and impacted files
@@                   Coverage Diff                   @@
##           organization-rework    #2135      +/-   ##
=======================================================
- Coverage                85.07%   84.44%   -0.64%     
=======================================================
  Files                       70       70              
  Lines                    19803    19723      -80     
=======================================================
- Hits                     16848    16655     -193     
- Misses                    2955     3068     +113     
Flag Coverage Δ
fuzz-cookie_parsing_sound 0.39% <0.00%> (+<0.01%) ⬆️
fuzz-duration_from_float 0.27% <0.00%> (+<0.01%) ⬆️
fuzz-encrypted_client_parsing 6.06% <0.00%> (-0.01%) ⬇️
fuzz-encrypted_server_parsing 9.70% <0.00%> (-0.59%) ⬇️
fuzz-handle 11.11% <1.38%> (-1.84%) ⬇️
fuzz-ipfilter 2.50% <0.00%> (+<0.01%) ⬆️
fuzz-key_exchange_request_parsing 3.80% <0.00%> (-1.11%) ⬇️
fuzz-key_exchange_response_parsing 3.69% <0.00%> (+0.02%) ⬆️
fuzz-packet_keyset 5.97% <0.00%> (+1.05%) ⬆️
fuzz-packet_parsing_sound 5.16% <0.00%> (-1.90%) ⬇️
fuzz-record_encode_decode 4.44% <0.00%> (+0.04%) ⬆️
test-aarch64-apple-darwin 84.21% <64.88%> (-0.62%) ⬇️
test-x86_64-unknown-linux-gnu 84.12% <64.88%> (-0.62%) ⬇️
test-x86_64-unknown-linux-musl 84.12% <64.88%> (-0.62%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@rnijveld rnijveld force-pushed the proto-communication-split branch from fd9f31b to 58dd72f Compare February 27, 2026 13:39
@rnijveld rnijveld force-pushed the proto-communication-split branch from 246a8d0 to a379e51 Compare February 27, 2026 14:26
@davidv1992 davidv1992 force-pushed the proto-communication-split branch from 2ce6322 to f296cb1 Compare March 4, 2026 17:00
This will allow us to give the source access to the manager snapshots,
which is needed to eventually move source usability into the per-source
part of the algorithm interface.
This will eventually make it easier to make communication between source
and ntp_manager more implicit, and reduces the amount of things the
system struct is responsible for.
This is now no longer needed, and removing this reduces the work system
needs to do a lot.
This removes the need for any messages between ntp manager and sources,
which also allows the removal of several bits of the source-system
communication in the daemon.
This further simplifies system, facilitating its removal.
This makes the updating of the ntp snapshot more robust by ensuring the
latest data is available before it is used for synchronization.
This further simplifies system, preparing for its removal.
This makes it impossible to forget to do this on dropping the source
controller. It also simplifies system, which makes its removal easier.
This fixes incorrect strata being advertised by servers.
@rnijveld rnijveld marked this pull request as ready for review April 16, 2026 13:04
@rnijveld rnijveld merged commit b08c68c into organization-rework Apr 16, 2026
24 of 29 checks passed
@rnijveld rnijveld deleted the proto-communication-split branch April 16, 2026 13:05
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