-
Notifications
You must be signed in to change notification settings - Fork 1
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
[WIP]Add updateTrustedDomain
GraphQL API
#276
base: main
Are you sure you want to change the base?
Conversation
The pr below should be merged first. |
@@ -522,6 +522,9 @@ struct MockAgentManager {} | |||
#[cfg(test)] | |||
#[async_trait::async_trait] | |||
impl AgentManager for MockAgentManager { | |||
async fn broadcast_trusted_domains(&self) -> Result<(), anyhow::Error> { | |||
Ok(()) |
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.
The broadcast_trusted_domains
function in MockAgentManager
has been modified to return Ok(())
for the purpose of executing test code
updateTrustedDomain
GraphQL APIupdateTrustedDomain
GraphQL API
new.name | ||
}; | ||
|
||
let agent_manager = ctx.data::<BoxedAgentManager>()?; |
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.
@sophie-cluml
It is necessary to determine whether it is important to use broadcasts.
It doesn't seem to be used in the source in review-web, but I think if it's an unnecessary source, it's better to remove it.
If there is an AgentManager
implementation in the review, we will keep it as it is.
updateTrustedDomain
GraphQL APIupdateTrustedDomain
GraphQL API
Could you rebase please? |
428be1a
to
63f58fa
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #276 +/- ##
==========================================
+ Coverage 61.58% 62.05% +0.47%
==========================================
Files 66 66
Lines 11630 11741 +111
==========================================
+ Hits 7162 7286 +124
+ Misses 4468 4455 -13 ☔ View full report in Codecov by Sentry. |
updateTrustedDomain
GraphQL APIupdateTrustedDomain
GraphQL API
Closes #2