Skip to content

chore: Commits for 2.4.0-b4#1954

Merged
godexsoft merged 30 commits intoXRPLF:release/2.4.0from
godexsoft:chore/commits-for-2.4.0-b4
Mar 11, 2025
Merged

chore: Commits for 2.4.0-b4#1954
godexsoft merged 30 commits intoXRPLF:release/2.4.0from
godexsoft:chore/commits-for-2.4.0-b4

Conversation

@godexsoft
Copy link
Collaborator

This PR adds commits for release/2.4.0 up to current develop.

kuznetsss and others added 29 commits February 7, 2025 13:42
Fixes XRPLF#1888. Please review and commit clang-tidy fixes.

Co-authored-by: godexsoft <385326+godexsoft@users.noreply.github.com>
In this PR:
1 We create a golang grpc client to request data from rippled
2 We store the data into the specific place
3 Add unittests
4 Create build script, the build can be initiated by set conan option
`snapshot` being true.

Please ignore the grpc server part. It will be implemented in importing
tool.
Improving array parsing in config:
- Allow null values in arrays for optional fields
- Allow empty array even for required field
- Allow to not put an empty array in config even if array contains
required fields
Fixes XRPLF#1919. Please review and commit clang-tidy fixes.

Co-authored-by: godexsoft <385326+godexsoft@users.noreply.github.com>
Fixes XRPLF#1924. Please review and commit clang-tidy fixes.

Co-authored-by: godexsoft <385326+godexsoft@users.noreply.github.com>
There was a data race inside `CoroutineGroup` because internal timer was
used from multiple threads in the methods `asyncWait()` and
`onCoroutineComplete()`. Changing `registerForeign()` to spawn to the
same `yield_context` fixes the problem because now the timer is accessed
only from the same coroutine which has an internal strand.

During debugging I also added websocket support for `request_gun` tool.
Ubuntu 20.04 images will be deprecated soon:
actions/runner-images#11101
Switch to the latest Ubuntu everywhere we use Github's image.
fixes XRPLF#1880

---------

Co-authored-by: Sergey Kuznetsov <skuznetsov@ripple.com>
Co-authored-by: Alex Kremer <akremer@ripple.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: godexsoft <385326+godexsoft@users.noreply.github.com>
Co-authored-by: Shawn Xie <35279399+shawnxie999@users.noreply.github.com>
Also delete move constructors where moving may be dangerous.
Fixes XRPLF#1948.

Co-authored-by: godexsoft <385326+godexsoft@users.noreply.github.com>
@godexsoft godexsoft requested a review from cindyyan317 March 11, 2025 13:07
@godexsoft godexsoft requested a review from kuznetsss March 11, 2025 13:07
@codecov
Copy link

codecov bot commented Mar 11, 2025

Codecov Report

Attention: Patch coverage is 81.97065% with 86 lines in your changes missing coverage. Please review.

Project coverage is 73.20%. Comparing base (7b04302) to head (41fc677).
Report is 31 commits behind head on release/2.4.0.

Files with missing lines Patch % Lines
src/rpc/RPCHelpers.cpp 83.95% 4 Missing and 9 partials ⚠️
src/web/ng/RPCServerHandler.hpp 36.84% 1 Missing and 11 partials ⚠️
src/main/Main.cpp 0.00% 8 Missing ⚠️
src/util/Assert.cpp 50.00% 7 Missing and 1 partial ⚠️
src/util/newconfig/ConfigFileJson.cpp 89.47% 1 Missing and 5 partials ⚠️
src/util/newconfig/ConfigDescription.hpp 80.76% 3 Missing and 2 partials ⚠️
src/etlng/impl/Monitor.cpp 87.50% 0 Missing and 4 partials ⚠️
src/rpc/common/impl/HandlerProvider.cpp 0.00% 4 Missing ⚠️
src/util/log/Logger.cpp 66.66% 2 Missing and 2 partials ⚠️
src/util/newconfig/Types.cpp 85.18% 2 Missing and 2 partials ⚠️
... and 12 more
Additional details and impacted files
@@                Coverage Diff                @@
##           release/2.4.0    #1954      +/-   ##
=================================================
+ Coverage          72.71%   73.20%   +0.48%     
=================================================
  Files                333      338       +5     
  Lines              13525    13853     +328     
  Branches            6881     7022     +141     
=================================================
+ Hits                9835    10141     +306     
- Misses              1785     1787       +2     
- Partials            1905     1925      +20     

☔ 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.

@godexsoft godexsoft merged commit 1bba437 into XRPLF:release/2.4.0 Mar 11, 2025
26 of 28 checks passed
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.

5 participants