-
Notifications
You must be signed in to change notification settings - Fork 46
Conversation
Signed-off-by: Andrew Mak <makandre@ca.ibm.com>
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.
Can you do some tests to make sure our incremental build (both Appsody and Codewind style of apps) are only detecting update on the changed files only instead of all files?
Codecov Report
@@ Coverage Diff @@
## 0.11.0 #2701 +/- ##
==========================================
- Coverage 59.85% 59.77% -0.08%
==========================================
Files 98 98
Lines 10006 10006
Branches 1687 1688 +1
==========================================
- Hits 5989 5981 -8
- Misses 4017 4025 +8
Continue to review full report at Codecov.
|
This PR revert the behaviour for So I tested with Codewind spring project as an example, and in fact it appears the behaviour now is improved than before. Without preserving timestamp, regardless of what file I changed (even if it's just a file in
After the change to preserve timestamp, if I changed a file in
So I think we were actually compiling more than necessary before because when the project is copied from Edit: can confirm this is true for Codewind microprofile project as well |
@elsony - I did a quick check locally instrumenting the upload REST function. Only the changed files are be being uploaded. I'm going to approve and merge this fix so it's ready for 0.11.0. |
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.
LGTM - I think #2705 might be a better fix long term but with a bit more risk of destabilising this release as it upgrades fs-extra. I'll merge this into 0.11.0 but the fix in master will probably be upgrading fs-extra.
Signed-off-by: Andrew Mak makandre@ca.ibm.com
What type of PR is this ?
What does this PR do ?
Follow-up to PR #2696, preserve timestamp only in
upload/end
and not inbind/end
Which issue(s) does this PR fix ?
Link to the Codewind repository issue(s) this PR fixes or references:
#2699
Does this PR require a documentation change ?
Any special notes for your reviewer ?