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

AgentCore uninstallation and plugin uninstallation #1308

Conversation

luanwenfei-venus
Copy link
Collaborator

@luanwenfei-venus luanwenfei-venus commented Sep 14, 2023

【Fix issue】#1236
[Modification content] 1. Agent uninstallation logic 2. Plug-in uninstallation logic 3. TimeUtil in the heartbeat service has been deleted, which is useless and occupied by extra threads
[Use case description] 1. Test cases have been added
[Self-test situation] 1. The local static check has an Exception that the framework needs to be replenished and cannot pass; 2. UT is subsequently merged.
[Scope of impact] 1. Is there any impact on users' use (such as API modifications and startup parameter modifications)? 2. Is it necessary to update some documents (such as user manuals)

@luanwenfei-venus luanwenfei-venus added kind/feature Issue for new feature area/framework Issues or PRs releated to sermant core service labels Sep 14, 2023
@luanwenfei-venus luanwenfei-venus force-pushed the develop_issue_1236_for_uninstall_plugin branch 3 times, most recently from 7e8f477 to 20e4f7c Compare September 15, 2023 06:29
@luanwenfei-venus luanwenfei-venus self-assigned this Sep 15, 2023
@luanwenfei-venus luanwenfei-venus requested review from lilai23, HapThorin and TangLeDaily and removed request for HapThorin September 15, 2023 06:30
@luanwenfei-venus luanwenfei-venus force-pushed the develop_issue_1236_for_uninstall_plugin branch from 20e4f7c to aaa10ed Compare September 15, 2023 06:44
@luanwenfei-venus luanwenfei-venus force-pushed the develop_issue_1236_for_uninstall_plugin branch from aaa10ed to dd61806 Compare September 15, 2023 07:04
@codecov
Copy link

codecov bot commented Sep 15, 2023

Codecov Report

Patch coverage: 4.10% and project coverage change: -0.16% ⚠️

Comparison is base (1d0fcd9) 42.65% compared to head (e76813d) 42.49%.

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #1308      +/-   ##
=============================================
- Coverage      42.65%   42.49%   -0.16%     
- Complexity      3313     3314       +1     
=============================================
  Files            834      833       -1     
  Lines          18405    18467      +62     
  Branches        2000     2013      +13     
=============================================
- Hits            7851     7848       -3     
- Misses          9579     9644      +65     
  Partials         975      975              
Flag Coverage Δ
unittests 42.49% <4.10%> (-0.16%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
...om/huaweicloud/sermant/core/AgentCoreEntrance.java 0.00% <0.00%> (ø)
...nt/core/command/AgentUnInstallCommandExecutor.java 0.00% <0.00%> (ø)
.../core/command/PluginsUnInstallCommandExecutor.java 0.00% <0.00%> (ø)
...m/huaweicloud/sermant/core/event/EventManager.java 12.50% <0.00%> (-10.84%) ⬇️
...cloud/sermant/core/operation/OperationManager.java 3.57% <0.00%> (-0.28%) ⬇️
...huaweicloud/sermant/core/plugin/PluginManager.java 0.00% <0.00%> (ø)
...mant/core/plugin/service/PluginServiceManager.java 10.52% <0.00%> (-0.59%) ⬇️
...ore/service/heartbeat/common/HeartbeatMessage.java 0.00% <0.00%> (ø)
...aweicloud/sermant/core/service/ServiceManager.java 6.84% <5.55%> (-0.85%) ⬇️
...huaweicloud/sermant/core/config/ConfigManager.java 6.89% <6.45%> (-4.65%) ⬇️
... and 1 more

... and 2 files with indirect coverage changes

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

@luanwenfei-venus luanwenfei-venus force-pushed the develop_issue_1236_for_uninstall_plugin branch from dd61806 to 524a11d Compare September 15, 2023 07:13
TangLeDaily
TangLeDaily previously approved these changes Sep 15, 2023
@Sherlockhan Sherlockhan merged commit 4fc9d48 into sermant-io:develop Sep 16, 2023
@kkf1 kkf1 changed the title Agent卸载及插件卸载 AgentCore uninstallation and plugin uninstallation Apr 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/framework Issues or PRs releated to sermant core service kind/feature Issue for new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants