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

NeoFS SDK update #2995

Merged
merged 2 commits into from
May 2, 2023
Merged

NeoFS SDK update #2995

merged 2 commits into from
May 2, 2023

Conversation

roman-khimov
Copy link
Member

Problem

NeoGo using pre-1.0.0-rc.1 SDK (some version from 2022.01.13!)

Solution

Update to 1.0.0-rc.8.

We were using _very_ old version, so there is a number of changes, including:
 * fix for unlimited reads
 * UTF-8 check for HTTP requests

Signed-off-by: Roman Khimov <roman@nspcc.ru>
@codecov
Copy link

codecov bot commented Apr 27, 2023

Codecov Report

Merging #2995 (0a160ee) into master (dcea3f6) will decrease coverage by 0.11%.
The diff coverage is 20.68%.

@@            Coverage Diff             @@
##           master    #2995      +/-   ##
==========================================
- Coverage   84.74%   84.63%   -0.11%     
==========================================
  Files         328      328              
  Lines       43105    43164      +59     
==========================================
+ Hits        36528    36532       +4     
- Misses       5088     5143      +55     
  Partials     1489     1489              
Impacted Files Coverage Δ
pkg/services/metrics/metrics.go 64.44% <0.00%> (ø)
pkg/services/notary/notary.go 81.19% <0.00%> (-1.50%) ⬇️
pkg/services/stateroot/validators.go 70.90% <0.00%> (ø)
pkg/services/oracle/neofs/neofs.go 22.28% <10.46%> (-13.92%) ⬇️
pkg/services/oracle/request.go 58.74% <14.28%> (+0.56%) ⬆️
pkg/network/server.go 75.54% <33.33%> (ø)
pkg/services/rpcsrv/server.go 77.76% <50.00%> (ø)
pkg/consensus/consensus.go 74.89% <100.00%> (ø)
pkg/network/bqueue/queue.go 82.35% <100.00%> (ø)
pkg/rpcclient/wsclient.go 75.08% <100.00%> (ø)
... and 1 more

... and 4 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Member

@AnnaShaleva AnnaShaleva left a comment

Choose a reason for hiding this comment

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

LGTM, but there's a number of CAS usages left in the code and the Linter is unhappy about it.

go.uber.org/atomic deprecated CAS methods in version 1.10 (that introduced
CompareAndSwap), so we need to fix it.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
@roman-khimov
Copy link
Member Author

LGTM, but there's a number of CAS usages left in the code and the Linter is unhappy about it.

Hmm, fixed.

Copy link
Member

@AnnaShaleva AnnaShaleva left a comment

Choose a reason for hiding this comment

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

And now the Linter job is failing due to the lack of #2996.

@roman-khimov roman-khimov merged commit 8bd9a7d into master May 2, 2023
13 of 18 checks passed
@roman-khimov roman-khimov deleted the neofs-sdk-update branch May 2, 2023 11:25
@AnnaShaleva AnnaShaleva modified the milestones: v0.102.0, v0.101.4 Jul 31, 2023
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.

None yet

3 participants