[Refactor:System] Only chmod on vendor directory changes#12692
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #12692 +/- ##
=========================================
Coverage 21.64% 21.64%
Complexity 9654 9654
=========================================
Files 268 268
Lines 36245 36245
Branches 487 487
=========================================
Hits 7846 7846
Misses 27916 27916
Partials 483 483
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
IDzyre
left a comment
There was a problem hiding this comment.
On my machine (windows 11), it takes submitty_install_site from ~30s per run (up to 50 if installing) down to ~18s per run.
Farhanxikram
left a comment
There was a problem hiding this comment.
Speed up submitty_install_site for me by a huge margin (from 5 minutes to 20 seconds), Submitty_install is still fluctuating, but i noticed quicker "fastest" times for submitty Install. It's fastest time for me was about 1 minute on this branch, but it averaged about 5 minutes .
Overall this would make Reviewing Pr'/ overall development s much more manageable, as submitty_install_site tends to be plenty for most submitty development :).
|
Looking for a final approval from @bmcutler before this gets merged to verify that not changing the permissions every time is acceptable. |
|
Hey @williamjallen! |
Why is this Change Important & Necessary?
The
submitty_install_sitescript currently performs a recursivechmodon the entire vendor directory every time. Developers using Windows have reported slowness at this point in the script.What is the New Behavior?
The
chmodis only applied to the vendor directory if it has been updated.