-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Revert "chore(core): allow the bundler to re-use pre-existing bundler output (#8916)" #9037
Conversation
Title does not follow the guidelines of Conventional Commits. Please adjust title before merge. |
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.
Please ensure that 'Revert' is not picked up by our bump script into our changelog.
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Agree, but it still covers the case described in @misterjoshua's issue? Re-using assets during a synth/deploy not between synths/deploys (shown to be working in the following test https://github.com/aws/aws-cdk/pull/8916/files#diff-f22402543bd7a255f41d5bf7d711a835R152)
|
Okay, I am now realizing that I missed some context. We are in the process of completely deprecating |
This means that this optimization no longer holds because the |
OK, this is #8962 I presume? Will have look. |
Yes. |
… output (aws#8916)" (aws#9037) This logic to reuse bundler output is faulty. Once an asset is bundled, the bundle directory is moved into the cloud assembly (cdk.out) and therefore the logic that attempts to reuse the bundle directory only materializes in the case where moveSync decides to copy the directory and not just move it. This reverts commit 31d6e65.
This logic to reuse bundler output is faulty. Once an asset is bundled, the bundle directory is moved into the cloud assembly (
cdk.out
) and therefore the logic that attempts to reuse the bundle directory only materializes in the case wheremoveSync
decides to copy the directory and not just move it.@jogold @misterjoshua please revisit.
This reverts commit 31d6e65.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license