Skip to content

revert(core): revert "fix(core): use node.path in skip bundling check for consistency with cdk deploy CLI"#21174

Merged
mergify[bot] merged 1 commit intomainfrom
revert-19950-stevehodgkiss/fix-bundling-check-to-use-same-logic-as-aws-cdk
Jul 15, 2022
Merged

revert(core): revert "fix(core): use node.path in skip bundling check for consistency with cdk deploy CLI"#21174
mergify[bot] merged 1 commit intomainfrom
revert-19950-stevehodgkiss/fix-bundling-check-to-use-same-logic-as-aws-cdk

Conversation

@kaizencc
Copy link
Copy Markdown
Contributor

@kaizencc kaizencc commented Jul 15, 2022

#19950 breaks users who use bundling inside a pipeline stack. Previously we converted Stage/Stack to Stage-Stack and left a comment as to why that was necessary. This comment was both insufficient and disregarded, which resulted in different behavior between the bundling logic and skip bundling logic. The asset path for skip bundling would not longer be the same as the asset path when bundling, so the asset would not be found.

@gitpod-io
Copy link
Copy Markdown

gitpod-io bot commented Jul 15, 2022

@github-actions github-actions bot added the p2 label Jul 15, 2022
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Jul 15, 2022
@aws-cdk-automation aws-cdk-automation requested a review from a team July 15, 2022 19:52
@aws-cdk-automation
Copy link
Copy Markdown
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: 652b2ec
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Jul 15, 2022

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit 07cfe77 into main Jul 15, 2022
@mergify mergify bot deleted the revert-19950-stevehodgkiss/fix-bundling-check-to-use-same-logic-as-aws-cdk branch July 15, 2022 20:27
kaizencc added a commit that referenced this pull request Jul 15, 2022
… for consistency with cdk deploy CLI" (#21174)

#19950 breaks users who use bundling inside a pipeline stack. Previously we converted `Stage/Stack` to `Stage-Stack` and left a comment as to why that was necessary. This comment was both insufficient and disregarded, which resulted in different behavior between the bundling logic and skip bundling logic. The asset path for skip bundling would not longer be the same as the asset path when bundling, so the asset would not be found.
comcalvi pushed a commit to comcalvi/aws-cdk that referenced this pull request Jul 25, 2022
… for consistency with cdk deploy CLI" (aws#21174)

aws#19950 breaks users who use bundling inside a pipeline stack. Previously we converted `Stage/Stack` to `Stage-Stack` and left a comment as to why that was necessary. This comment was both insufficient and disregarded, which resulted in different behavior between the bundling logic and skip bundling logic. The asset path for skip bundling would not longer be the same as the asset path when bundling, so the asset would not be found.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contribution/core This is a PR that came from AWS. p2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants