-
Notifications
You must be signed in to change notification settings - Fork 117
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
Update coverage for config and error #1475
base: main
Are you sure you want to change the base?
Conversation
I would appreciate it if you could take a moment to review my pull request. Your feedback would be invaluable, and I’m particularly interested in any thoughts you have on the implementation and overall impact of the changes made. |
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.
Reviewed 3 of 5 files at r1, all commit messages.
Reviewable status: 0 of 2 LGTMs obtained, and 3 of 5 files reviewed, and 2 discussions need to be resolved
nativelink-config/tests/deserialization_test.rs
line 28 at r1 (raw file):
const MAP_TYPE_ERROR: &str = "invalid type: map, expected a string containing json data"; const DURATION_HUMAN_READABLE: &str = r#"{"duration": "1m 10s"}"#;
Using these consts makes looking up what the example content is a double navigation. I think they should continue to be inlined until duplication is unmanageable
nativelink-metric-collector/src/lib.rs
line 19 at r1 (raw file):
mod metrics_collection; pub mod metrics_visitors;
why is this public?
Thanks for your review
|
9229e6b
to
b72afa8
Compare
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.
@leodziki Thanks for finding some test cases!
b6cf659 changed the serde_utils and tests fairly significantly. Could you split off your changes to serde_utils.rs into a separate PR and integrate your test cases into the new structure?
Reviewable status: 0 of 2 LGTMs obtained, and 3 of 5 files reviewed, and pending CI: Bazel Dev / macos-13, and 2 discussions need to be resolved
Hello, @aaronmondal |
Update coverage rate of nativelink-config and nativelink-error to 80~100% Passed cargo test and bazel test
b72afa8
to
87f1822
Compare
87f1822
to
894b0c9
Compare
Coverage update for serde_until completed. Bazel test, cargo test, pre-commit passed.
Update coverage rate of nativelink-config and nativelink-error to 80~100% Passed cargo test and bazel test
Description
Currently, coverage rate has been upgraded to 80-100% in nativelink-error and nativelink-config packages.
Bazel test and cargo test both passed. And Pre-commit passed in direnv and everything is perfect.
Fixed everything about the review
Fixes #1401
Type of change
not work as expected)
How Has This Been Tested?
Bazel test, cargo test and pre-commit
Checklist
bazel test //...
passes locallyThis change is