Skip to content

Conversation

@feng-j678
Copy link
Contributor

What is in this PR:
[X] Modify the nested for loop in set_package_install_status and set_package_install_status_classification to use order dictionary for quicker look up
[X] unit test installation order dictionary

@codecov
Copy link

codecov bot commented Jun 16, 2023

Codecov Report

Merging #194 (4468df6) into master (ba59b85) will increase coverage by 0.05%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #194      +/-   ##
==========================================
+ Coverage   90.01%   90.07%   +0.05%     
==========================================
  Files          90       90              
  Lines       14356    14423      +67     
==========================================
+ Hits        12923    12991      +68     
+ Misses       1433     1432       -1     
Flag Coverage Δ
python27 90.18% <100.00%> (+0.07%) ⬆️
python39 90.07% <100.00%> (+0.05%) ⬆️

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

Impacted Files Coverage Δ
src/core/src/service_interfaces/StatusHandler.py 93.20% <100.00%> (+0.28%) ⬆️
src/core/tests/Test_StatusHandler.py 99.74% <100.00%> (+0.05%) ⬆️

kjohn-msft
kjohn-msft previously approved these changes Jun 16, 2023
Copy link
Contributor

@rane-rajasi rane-rajasi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comments inline

@feng-j678 feng-j678 force-pushed the user/jf/add_orderdict_installation branch from 66fd848 to 86e2209 Compare June 17, 2023 02:22
Copy link
Contributor

@rane-rajasi rane-rajasi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comments inline

@feng-j678 feng-j678 force-pushed the user/jf/add_orderdict_installation branch 2 times, most recently from 52245e1 to cc2b9a2 Compare June 20, 2023 20:10
@feng-j678 feng-j678 force-pushed the user/jf/add_orderdict_installation branch from cc2b9a2 to 49a32af Compare June 20, 2023 20:16
kjohn-msft
kjohn-msft previously approved these changes Jun 20, 2023
rane-rajasi
rane-rajasi previously approved these changes Jun 21, 2023
Copy link
Contributor

@rane-rajasi rane-rajasi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@feng-j678 Now that the py27 CI issue is fixed, let that PR go in first, so you can fetch latest from master into this PR, run py27 on this PR and then merge.

@feng-j678 feng-j678 enabled auto-merge (squash) June 21, 2023 01:16
@kjohn-msft kjohn-msft changed the title modify nested for loop in installation logic to use orderdict… Add ordered dictionary for quicker look up of Installation packages in StatusHandler Jun 21, 2023
@feng-j678 feng-j678 dismissed stale reviews from rane-rajasi and kjohn-msft via ad25d74 June 21, 2023 15:58
@feng-j678 feng-j678 merged commit 3184c6d into master Jun 21, 2023
@feng-j678 feng-j678 deleted the user/jf/add_orderdict_installation branch June 21, 2023 17:50
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.

4 participants