-
Notifications
You must be signed in to change notification settings - Fork 441
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
Replace unmaintained actions-rs/toolchain action. #1655
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NoOpLogLayer and NoopEventVisitor are not used, so removing them,
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we not need them for the future?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see them used for stress test. We already have the benchmark test for them here -
impl<S> Layer<S> for NoOpLogLayer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can probably revive them if needed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Note
.github/workflows/integration_tests.yml
is modified by this PR but that test is skipped.
Thanks, have forced run it now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can probably revive them if needed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM thanks!
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. |
Fixes #1654
Replacing
actions-rs/toolchain
action with more actively maintained and useddtolnay/rust-toolchain
. Whilerustup
is 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
,TryFrom
andFromIterator
traits, as they are part of std::prelude.Changes
Please provide a brief description of the changes here.
Merge requirement checklist
CHANGELOG.md
files updated for non-trivial, user-facing changes