Page MenuHomePhabricator

[comm-opaque] Add dependencies for client and server logic
AbandonedPublic

Authored by jon on Mar 9 2023, 10:00 AM.
Tags
None
Referenced Files
F3361512: D7020.diff
Sun, Nov 24, 5:50 PM
Unknown Object (File)
Tue, Nov 19, 10:00 AM
Unknown Object (File)
Tue, Nov 19, 10:00 AM
Unknown Object (File)
Tue, Nov 19, 10:00 AM
Unknown Object (File)
Tue, Nov 19, 9:59 AM
Unknown Object (File)
Tue, Nov 19, 9:36 AM
Unknown Object (File)
Thu, Nov 7, 4:12 PM
Unknown Object (File)
Thu, Nov 7, 1:20 AM
Subscribers

Details

Reviewers
varun
bartek
Summary

Do dependency management in a separate commit to
avoid noise in more critical commit later.

Test Plan
cd shared/comm-opaque
cargo build

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Mar 9 2023, 10:04 AM
Harbormaster failed remote builds in B17212: Diff 23576!

Ensure downstream rust projects are up-to-date

Only use major.minor in versions

shared/comm-opaque/Cargo.toml
16 ↗(On Diff #23580)

this is added to expose a handle_pake_to_grpc_err helper. Might move elsewhere if WASM generation doesn't do pruning.

i don't love adding the dependencies in a separate diff, would like to see them added when they're actually being used

This revision is now accepted and ready to land.Mar 9 2023, 11:38 PM

i don't love adding the dependencies in a separate diff, would like to see them added when they're actually being used

Neither do I. But I would rather have critical diffs like D7022 be smaller so that a reviewer can have a more focused context when reviewing; and I think that alone is more valuable than consolidating diffs.

so that a reviewer can have a more focused context when reviewing

Yeah personally prefer dependency diffs/simple refactors to be their own diffs so they can quickly be accepted and moved on from.. also reduces clutter from "meatier" diffs

i frankly don't think this adds much clutter at all... also it's more tedious for me to switch between diffs to see how these dependencies are being used. just looking at this diff, i have no idea what any of these dependencies are for besides the one that @jon annotated, and even then i still have to look at another diff to see what handle_pake_to_grpc_err looks like. the lack of context in this diff makes it difficult to determine if a given dependency is appropriate or propose an alternative.

In D7020#208568, @varun wrote:

i frankly don't think this adds much clutter at all... also it's more tedious for me to switch between diffs to see how these dependencies are being used. just looking at this diff, i have no idea what any of these dependencies are for besides the one that @jon annotated, and even then i still have to look at another diff to see what handle_pake_to_grpc_err looks like. the lack of context in this diff makes it difficult to determine if a given dependency is appropriate or propose an alternative.

That's fair