Skip to content

feat: Dont use ntp servers when Thirdparty services are disabled#7197

Merged
Khushboo-dev-cpp merged 1 commit intodevelopfrom
feat/thirdPartyServicesNtpServers
Dec 17, 2025
Merged

feat: Dont use ntp servers when Thirdparty services are disabled#7197
Khushboo-dev-cpp merged 1 commit intodevelopfrom
feat/thirdPartyServicesNtpServers

Conversation

@Khushboo-dev-cpp
Copy link
Contributor

A short summary which serves as a squashed-commit message.

A description to understand introduced changes without reading the code.

Important changes:

  • Something worth noting for reviewers.

Closes #

@status-im-auto
Copy link
Member

status-im-auto commented Dec 11, 2025

Jenkins Builds

Click to see older builds (60)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ c7a317b #1 2025-12-11 13:21:10 ~6 min windows/status-go 📦zip
c7a317b #1 2025-12-11 13:28:44 ~14 min windows/nwaku 📄log
c7a317b #1 2025-12-11 13:33:59 ~19 min macos/nwaku 📄log
✔️ c7a317b #1 2025-12-11 13:36:09 ~22 min macos/status-go 📦zip
✔️ c7a317b #1 2025-12-11 13:43:55 ~30 min linux/status-go 📦zip
✔️ c7a317b #1 2025-12-11 13:48:56 ~35 min linux/nwaku 📦zip
✔️ c7a317b #1 2025-12-11 13:56:41 ~42 min tests-rpc 📄log
✖️ c7a317b #1 2025-12-11 13:59:09 ~45 min tests-rpc 📄log
✔️ c7a317b #1 2025-12-11 14:09:27 ~55 min tests 📄log
✔️ c7a317b #1 2025-12-11 14:12:19 ~58 min tests 📄log
✔️ 4ce8f1f #2 2025-12-12 10:11:59 ~3 min linux/status-go 📦zip
4ce8f1f #2 2025-12-12 10:12:43 ~4 min macos/nwaku 📄log
✔️ 4ce8f1f #2 2025-12-12 10:13:00 ~4 min macos/status-go 📦zip
✔️ 4ce8f1f #2 2025-12-12 10:14:00 ~5 min windows/status-go 📦zip
4ce8f1f #2 2025-12-12 10:20:48 ~12 min windows/nwaku 📄log
✖️ 4ce8f1f #2 2025-12-12 10:26:24 ~18 min tests-rpc 📄log
✔️ 4ce8f1f #2 2025-12-12 10:34:58 ~26 min tests 📄log
✔️ 4ce8f1f #2 2025-12-12 10:37:22 ~28 min tests 📄log
✔️ 2218318 #3 2025-12-15 13:38:26 ~4 min linux/status-go 📦zip
2218318 #3 2025-12-15 13:39:03 ~4 min macos/nwaku 📄log
✔️ 2218318 #3 2025-12-15 13:39:11 ~4 min macos/status-go 📦zip
✔️ 2218318 #3 2025-12-15 13:41:31 ~6 min windows/status-go 📦zip
✔️ 2218318 #3 2025-12-15 13:42:35 ~8 min linux/nwaku 📦zip
2218318 #3 2025-12-15 13:49:10 ~14 min windows/nwaku 📄log
✖️ 2218318 #3 2025-12-15 13:54:43 ~20 min tests-rpc 📄log
✖️ 2218318 #3 2025-12-15 13:55:02 ~20 min tests-rpc 📄log
✔️ 2218318 #3 2025-12-15 14:02:19 ~27 min tests 📄log
✔️ 2218318 #3 2025-12-15 14:02:26 ~27 min tests 📄log
✔️ 59aea9e #4 2025-12-15 20:53:02 ~4 min linux/status-go 📦zip
59aea9e #4 2025-12-15 20:53:23 ~4 min macos/nwaku 📄log
✔️ 59aea9e #4 2025-12-15 20:53:41 ~4 min macos/status-go 📦zip
✔️ 59aea9e #4 2025-12-15 20:54:35 ~5 min windows/status-go 📦zip
✔️ 59aea9e #4 2025-12-15 20:57:09 ~8 min linux/nwaku 📦zip
59aea9e #4 2025-12-15 21:01:32 ~12 min windows/nwaku 📄log
✖️ 59aea9e #4 2025-12-15 21:08:02 ~18 min tests-rpc 📄log
✖️ 59aea9e #4 2025-12-15 21:10:06 ~20 min tests-rpc 📄log
✔️ 59aea9e #4 2025-12-15 21:14:53 ~25 min tests 📄log
✔️ 8ccd0bd #5 2025-12-15 20:57:14 ~4 min linux/status-go 📦zip
8ccd0bd #5 2025-12-15 20:57:37 ~4 min macos/nwaku 📄log
✔️ 8ccd0bd #5 2025-12-15 20:58:05 ~4 min macos/status-go 📦zip
✔️ 8ccd0bd #5 2025-12-15 20:59:53 ~4 min windows/status-go 📦zip
✔️ 8ccd0bd #5 2025-12-15 21:05:06 ~7 min linux/nwaku 📦zip
b87fcf2 #6 2025-12-15 21:06:22 ~3 min macos/nwaku 📄log
✔️ b87fcf2 #6 2025-12-15 21:06:29 ~4 min linux/status-go 📦zip
✔️ b87fcf2 #6 2025-12-15 21:07:02 ~4 min macos/status-go 📦zip
✔️ b87fcf2 #6 2025-12-15 21:08:13 ~5 min windows/status-go 📦zip
✔️ b87fcf2 #6 2025-12-15 21:13:14 ~7 min linux/nwaku 📦zip
b87fcf2 #6 2025-12-15 21:15:04 ~12 min windows/nwaku 📄log
✖️ b87fcf2 #5 2025-12-15 21:25:48 ~17 min tests-rpc 📄log
✔️ b87fcf2 #5 2025-12-15 21:41:19 ~26 min tests 📄log
✔️ b87fcf2 #6 2025-12-15 21:45:06 ~26 min tests 📄log
✖️ fdce026 #6 2025-12-15 21:35:35 ~16 sec tests-rpc 📄log
✔️ fdce026 #7 2025-12-15 21:38:55 ~3 min linux/status-go 📦zip
fdce026 #7 2025-12-15 21:39:29 ~4 min macos/nwaku 📄log
✔️ fdce026 #7 2025-12-15 21:39:43 ~4 min macos/status-go 📦zip
✔️ fdce026 #7 2025-12-15 21:42:43 ~7 min linux/nwaku 📦zip
✔️ fdce026 #7 2025-12-15 21:45:16 ~9 min windows/status-go 📦zip
fdce026 #7 2025-12-15 21:49:18 ~14 min windows/nwaku 📄log
✔️ fdce026 #6 2025-12-15 22:07:57 ~26 min tests 📄log
✖️ fdce026 #7 2025-12-15 22:11:53 ~26 min tests 📄log
Commit #️⃣ Finished (UTC) Duration Platform Result
20da234 #8 2025-12-16 09:28:42 ~3 min macos/nwaku 📄log
✔️ 20da234 #8 2025-12-16 09:28:58 ~4 min linux/status-go 📦zip
✔️ 20da234 #8 2025-12-16 09:29:46 ~5 min macos/status-go 📦zip
✔️ 20da234 #8 2025-12-16 09:33:56 ~9 min linux/nwaku 📦zip
✔️ 20da234 #7 2025-12-16 09:52:44 ~27 min tests 📄log
✔️ 61a4935 #9 2025-12-16 09:31:18 ~5 min windows/status-go 📦zip
61a4935 #9 2025-12-16 09:32:43 ~3 min macos/nwaku 📄log
✔️ 61a4935 #9 2025-12-16 09:34:33 ~4 min macos/status-go 📦zip
✔️ 61a4935 #9 2025-12-16 09:36:15 ~7 min linux/status-go 📦zip
61a4935 #9 2025-12-16 09:38:11 ~12 min windows/nwaku 📄log
✔️ 61a4935 #9 2025-12-16 09:42:47 ~8 min linux/nwaku 📦zip
✔️ 61a4935 #8 2025-12-16 09:46:29 ~18 min tests-rpc 📄log
✔️ 61a4935 #8 2025-12-16 09:48:36 ~20 min tests-rpc 📄log
✔️ 61a4935 #9 2025-12-16 09:58:13 ~29 min tests 📄log
✔️ 61a4935 #8 2025-12-16 10:18:56 ~26 min tests 📄log

@codecov
Copy link

codecov bot commented Dec 11, 2025

Codecov Report

❌ Patch coverage is 53.33333% with 14 lines in your changes missing coverage. Please review.
✅ Project coverage is 59.74%. Comparing base (c67a6c5) to head (61a4935).
⚠️ Report is 10 commits behind head on develop.

Files with missing lines Patch % Lines
pkg/backend/node/status_node_services.go 48.14% 10 Missing and 4 partials ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #7197      +/-   ##
===========================================
+ Coverage    51.26%   59.74%   +8.48%     
===========================================
  Files          820      819       -1     
  Lines       113826   113297     -529     
===========================================
+ Hits         58349    67690    +9341     
+ Misses       49380    38734   -10646     
- Partials      6097     6873     +776     
Flag Coverage Δ
functional 36.56% <43.33%> (+0.30%) ⬆️
unit 54.88% <43.33%> (+14.51%) ⬆️

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

Files with missing lines Coverage Δ
pkg/backend/geth_backend.go 50.72% <100.00%> (+0.05%) ⬆️
pkg/backend/node/get_status_node.go 64.91% <ø> (ø)
pkg/backend/node/status_node_services.go 75.76% <48.14%> (-0.88%) ⬇️

... and 196 files with indirect coverage changes

@Khushboo-dev-cpp Khushboo-dev-cpp force-pushed the feat/thirdPartyServicesNtpServers branch 3 times, most recently from 8ccd0bd to b87fcf2 Compare December 15, 2025 21:02
@status-im-auto
Copy link
Member

✔️ status-go/prs/tests/PR-7197#5 🔹 ~25 min 🔹 8ccd0bd 🔹 📦 tests package

@Khushboo-dev-cpp Khushboo-dev-cpp force-pushed the feat/thirdPartyServicesNtpServers branch from b87fcf2 to fdce026 Compare December 15, 2025 21:34
Comment on lines 432 to 433
b.logger.Error("failed to get if thirdparty services enabled", zap.Error(err))
return timesource.LocalService()
Copy link
Collaborator

Choose a reason for hiding this comment

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

Returning here won't actually set the b.timeSourceSrvc, which we should do
We can just set thirdpartyServicesEnabled to false and let the next code do the job

Suggested change
b.logger.Error("failed to get if thirdparty services enabled", zap.Error(err))
return timesource.LocalService()
b.logger.Error("failed to get if thirdparty services enabled", zap.Error(err))
thirdpartyServicesEnabled = true

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done!

@igor-sirotin
Copy link
Collaborator

@Khushboo-dev-cpp CI will be fixed tomorrow, sorry for that

@Khushboo-dev-cpp Khushboo-dev-cpp force-pushed the feat/thirdPartyServicesNtpServers branch from fdce026 to 20da234 Compare December 16, 2025 09:24
@Khushboo-dev-cpp Khushboo-dev-cpp force-pushed the feat/thirdPartyServicesNtpServers branch from 20da234 to 61a4935 Compare December 16, 2025 09:25
@igor-sirotin igor-sirotin self-requested a review December 17, 2025 17:25
@Khushboo-dev-cpp Khushboo-dev-cpp merged commit 8d0e9ea into develop Dec 17, 2025
25 of 27 checks passed
@Khushboo-dev-cpp Khushboo-dev-cpp deleted the feat/thirdPartyServicesNtpServers branch December 17, 2025 20:03
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

Comments