Replace unmaintained actions-rs/toolchain action.#1655
Replace unmaintained actions-rs/toolchain action.#1655cijothomas merged 12 commits intoopen-telemetry:mainfrom
Conversation
|
Ok there is error in workflow Let me see how to fix this. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1655 +/- ##
=======================================
+ Coverage 68.9% 69.3% +0.3%
=======================================
Files 136 136
Lines 19429 19637 +208
=======================================
+ Hits 13396 13610 +214
+ Misses 6033 6027 -6 ☔ View full report in Codecov by Sentry. |
|
The tests are failing with this toolchain action, moving it to draft to fix it. |
|
Ok, this is ready to review now. Some more changes are done to fix redundant import warning, coming from the latest beta build - rust-lang/rust#117772 |
|
|
||
| mod throughput; | ||
|
|
||
| struct NoopEventVisitor; |
There was a problem hiding this comment.
NoOpLogLayer and NoopEventVisitor are not used, so removing them,
There was a problem hiding this comment.
Do we not need them for the future?
There was a problem hiding this comment.
I don't see them used for stress test. We already have the benchmark test for them here -
There was a problem hiding this comment.
We can probably revive them if needed
Thanks, have forced run it now. |
TommyCpp
left a comment
There was a problem hiding this comment.
While rustup is available on Github actions runners, I feel it would be less of maintanance efffort with using an action
Agree with this. I prefer less change needed for CICD
|
|
||
| mod throughput; | ||
|
|
||
| struct NoopEventVisitor; |
There was a problem hiding this comment.
We can probably revive them if needed
|
Oh... Still two |
|
Looks like something has changed in the GitHub runner images, as all existing PRs are failing with error: |
All the issues are resolved. Should be good to merge. |
Co-authored-by: Zhongyang Wu <zhongyang.wu@outlook.com>
Co-authored-by: Zhongyang Wu <zhongyang.wu@outlook.com>
Fixes #1654
Replacing
actions-rs/toolchainaction with more actively maintained and useddtolnay/rust-toolchain. Whilerustupis available on Github actions runners, I feel it would be less of maintanance efffort with using an action. But happy to change if there are other thoughts.Also, rust latest beta compiler/toolchain has more accurate redundant import warning - rust-lang/rust#117772 - so fixed the code to remove redundant imports. Basically remove import for
TryInto,TryFromandFromIteratortraits, as they are part of std::prelude.Changes
Please provide a brief description of the changes here.
Merge requirement checklist
CHANGELOG.mdfiles updated for non-trivial, user-facing changes