Skip to content

Add the performance watcher - #1348

Draft
0xfornax wants to merge 1 commit into
masterfrom
performance-watcher
Draft

0xfornax wants to merge 1 commit into
masterfrom
performance-watcher

Conversation

@0xfornax

Copy link
Copy Markdown
Member

No description provided.

@github-actions

Copy link
Copy Markdown

Coverage Report

@github-actions

Copy link
Copy Markdown

Merging this branch changes the coverage (3 decrease, 7 increase)

Impacted Packages Coverage Δ 🤖
github.com/rocket-pool/smartnode/bindings/utils/state 0.22% (-0.01%) 👎
github.com/rocket-pool/smartnode/rocketpool-cli/node 0.14% (+0.14%) 👍
github.com/rocket-pool/smartnode/rocketpool-cli/service/config 0.00% (ø)
github.com/rocket-pool/smartnode/rocketpool/api/node 0.24% (+0.05%) 👍
github.com/rocket-pool/smartnode/rocketpool/node 0.44% (-0.03%) 👎
github.com/rocket-pool/smartnode/shared/services 0.93% (-0.08%) 👎
github.com/rocket-pool/smartnode/shared/services/beacon/client 0.83% (+0.08%) 👍
github.com/rocket-pool/smartnode/shared/services/config 7.71% (+0.53%) 👍
github.com/rocket-pool/smartnode/shared/services/performancewatcher 4.05% (+4.05%) 👍
github.com/rocket-pool/smartnode/shared/services/rocketpool 0.68% (+0.15%) 👍
github.com/rocket-pool/smartnode/shared/types/api 2.86% (+0.00%) 👍

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/rocket-pool/smartnode/bindings/utils/state/megapool.go 0.03% (-0.00%) 5942 (+266) 2 5940 (+266) 👎
github.com/rocket-pool/smartnode/rocketpool-cli/node/commands.go 0.02% (+0.02%) 6103 (+164) 1 (+1) 6102 (+163) 👍
github.com/rocket-pool/smartnode/rocketpool-cli/node/performance-watcher.go 3.08% (+3.08%) 4031 (+4031) 124 (+124) 3907 (+3907) 👍
github.com/rocket-pool/smartnode/rocketpool-cli/service/config/settings-home.go 0.00% (ø) 4134 (+322) 0 4134 (+322)
github.com/rocket-pool/smartnode/rocketpool-cli/service/config/settings-native-home.go 0.00% (ø) 3740 (+302) 0 3740 (+302)
github.com/rocket-pool/smartnode/rocketpool-cli/service/config/settings-native-smartnode.go 0.00% (ø) 909 (+46) 0 909 (+46)
github.com/rocket-pool/smartnode/rocketpool-cli/service/config/settings-performance.go 0.00% (ø) 631 (+631) 0 631 (+631)
github.com/rocket-pool/smartnode/rocketpool-cli/service/config/settings-smartnode.go 0.00% (ø) 908 (+46) 0 908 (+46)
github.com/rocket-pool/smartnode/rocketpool/api/node/performance-watcher.go 3.03% (+3.03%) 2840 (+2840) 86 (+86) 2754 (+2754) 👍
github.com/rocket-pool/smartnode/rocketpool/api/node/routes.go 4.37% (-0.12%) 5723 (+305) 250 (+7) 5473 (+298) 👎
github.com/rocket-pool/smartnode/rocketpool/node/metrics-exporter.go 0.00% (ø) 2699 (+282) 0 2699 (+282)
github.com/rocket-pool/smartnode/rocketpool/node/node.go 0.00% (ø) 11665 (+755) 0 11665 (+755)
github.com/rocket-pool/smartnode/shared/services/beacon/client/watcher.go 4.56% (+4.56%) 658 (+658) 30 (+30) 628 (+628) 👍
github.com/rocket-pool/smartnode/shared/services/config/rocket-pool-config.go 4.66% (+0.63%) 27747 (+1522) 1293 (+236) 26454 (+1286) 👍
github.com/rocket-pool/smartnode/shared/services/config/smartnode-config.go 3.61% (+0.01%) 4600 (+242) 166 (+9) 4434 (+233) 👍
github.com/rocket-pool/smartnode/shared/services/performance-watcher-rpc.go 0.27% (+0.27%) 2607 (+2607) 7 (+7) 2600 (+2600) 👍
github.com/rocket-pool/smartnode/shared/services/performance-watcher-source.go 1.06% (+1.06%) 6768 (+6768) 72 (+72) 6696 (+6696) 👍
github.com/rocket-pool/smartnode/shared/services/performance-watcher.go 0.10% (+0.10%) 1918 (+1918) 2 (+2) 1916 (+1916) 👍
github.com/rocket-pool/smartnode/shared/services/performancewatcher/beacon.go 4.15% (+4.15%) 12691 (+12691) 527 (+527) 12164 (+12164) 👍
github.com/rocket-pool/smartnode/shared/services/performancewatcher/candidates.go 4.40% (+4.40%) 3753 (+3753) 165 (+165) 3588 (+3588) 👍
github.com/rocket-pool/smartnode/shared/services/performancewatcher/metrics.go 0.00% (ø) 741 (+741) 0 741 (+741)
github.com/rocket-pool/smartnode/shared/services/performancewatcher/store.go 3.97% (+3.97%) 5412 (+5412) 215 (+215) 5197 (+5197) 👍
github.com/rocket-pool/smartnode/shared/services/performancewatcher/types.go 5.34% (+5.34%) 937 (+937) 50 (+50) 887 (+887) 👍
github.com/rocket-pool/smartnode/shared/services/performancewatcher/validator.go 4.72% (+4.72%) 3329 (+3329) 157 (+157) 3172 (+3172) 👍
github.com/rocket-pool/smartnode/shared/services/performancewatcher/worker.go 3.90% (+3.90%) 17228 (+17228) 672 (+672) 16556 (+16556) 👍
github.com/rocket-pool/smartnode/shared/services/rocketpool/performance-watcher.go 2.11% (+2.11%) 190 (+190) 4 (+4) 186 (+186) 👍
github.com/rocket-pool/smartnode/shared/types/api/performance-watcher.go 0.00% (ø) 0 0 0

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

Changed unit test files

  • github.com/rocket-pool/smartnode/rocketpool-cli/node/performance-watcher_test.go
  • github.com/rocket-pool/smartnode/rocketpool/api/node/performance-watcher_test.go
  • github.com/rocket-pool/smartnode/shared/services/beacon/client/watcher_test.go
  • github.com/rocket-pool/smartnode/shared/services/config/performance-watcher_test.go
  • github.com/rocket-pool/smartnode/shared/services/performance-watcher-rpc_test.go
  • github.com/rocket-pool/smartnode/shared/services/performance-watcher-source_test.go
  • github.com/rocket-pool/smartnode/shared/services/performancewatcher/benchmark_test.go
  • github.com/rocket-pool/smartnode/shared/services/performancewatcher/validator_test.go
  • github.com/rocket-pool/smartnode/shared/services/performancewatcher/watcher_test.go

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.

1 participant