-
Notifications
You must be signed in to change notification settings - Fork 31
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
Optimize build and deploy #811
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #811 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 56 56
Lines 3242 3243 +1
Branches 616 617 +1
=========================================
+ Hits 3242 3243 +1 ☔ View full report in Codecov by Sentry. |
@@ -108,6 +108,9 @@ class Run extends BaseCommand { | |||
} | |||
|
|||
const verboseOutput = flags.verbose || flags.local || headlessApp | |||
// we should evaluate this, a lot of output just disappears in the spinner text and | |||
// using verbose dumps ALL of parcel's output, so this become unreadable | |||
// we need a middle ground. -jm |
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.
perhaps log to file like the old --local run? search for OW_LOCAL_LOG_FILE
@@ -91,6 +91,8 @@ function createChangeHandler (watcherOptions) { | |||
try { | |||
aioLogger.debug(`${filePath} has changed. Redeploying actions.`) | |||
const filterActions = getActionNameFromPath(filePath, watcherOptions) | |||
// this is happening, but its not showing up because verbose is usually off | |||
// this might be more important and worthy of signalling to the user |
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.
I think this is important if we can define the importance of the "non-action file" is (more files are covered by your new changes) - the user might not know why their changes are not showing up otherwise
Description
This changes the default for flag --force-build to false
RuntimeLib will include additional checks to not build actions it has already built, and not deploy actions already deployed. In order for users to see these benefits, the defaults are to use the optimized workflow and reduce time to build/deploy/run
If an action has changed, it will be built during app build/deploy/run
If an action has changed ( or action inputs including from $env or action descriptors ) it will be deployed during app deploy/run
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: