Skip to content
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

Decouple AgentManager from serialization #325

Merged
merged 1 commit into from
Oct 8, 2024
Merged

Conversation

msk
Copy link
Contributor

@msk msk commented Oct 7, 2024

This PR modifies the methods in AgentManager trait to accept HostNetworkGroup directly instead of its serialized form. By doing so, we allow the review-protocol crate to handle serialization, which is a more suitable place for this responsibility.

This change is required for petabi/review-protocol#13.

Instead of accepting a serialized HostNetworkGroup, the AgentManager
trait now takes a HostNetworkGroup directly, allowing the
review-protocol crate to handle serialization.
Copy link

codecov bot commented Oct 7, 2024

Codecov Report

Attention: Patch coverage is 20.00000% with 4 lines in your changes missing coverage. Please review.

Project coverage is 67.64%. Comparing base (70a8a9e) to head (0e933bc).

Files with missing lines Patch % Lines
src/graphql/allow_network.rs 0.00% 2 Missing ⚠️
src/graphql/block_network.rs 0.00% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #325   +/-   ##
=======================================
  Coverage   67.63%   67.64%           
=======================================
  Files          67       67           
  Lines       13203    13200    -3     
=======================================
- Hits         8930     8929    -1     
+ Misses       4273     4271    -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sehkone sehkone requested a review from sophie-cluml October 8, 2024 08:39
@sehkone sehkone merged commit fabc3f7 into main Oct 8, 2024
9 of 10 checks passed
@sehkone sehkone deleted the decouple-serialization branch October 8, 2024 10:54
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.

3 participants