Skip to content
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

fix(aws-cloudfront): distribution comment length not validated (#14020) #14094

Merged
merged 6 commits into from
Apr 13, 2021

Conversation

minuz
Copy link
Contributor

@minuz minuz commented Apr 10, 2021

fixes #14020


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@gitpod-io
Copy link

gitpod-io bot commented Apr 10, 2021

@github-actions github-actions bot added the @aws-cdk/aws-cloudfront Related to Amazon CloudFront label Apr 10, 2021
@minuz
Copy link
Contributor Author

minuz commented Apr 10, 2021

@njlynch not sure if this is normal, but I had to use lint --fix, probably due to my local vscode settings and the PR end up getting a bit polluted with those fixes.

Copy link
Contributor

@njlynch njlynch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure if this is normal, but I had to use lint --fix, probably due to my local vscode settings and the PR end up getting a bit polluted with those fixes.

Yeah, looks like your local VSCode settings are quite different from ours! Unfortunately, this makes the diff almost impossible to read. Can you clean this up? One approach might be to use git reset + git add -p to reset (not remove) all of these changes, and then only add back in the relevant lines. As-is, there are too many unrelated changes here for me to be confident reviewing just the few lines of comments-related stuff.

@njlynch njlynch changed the title fix(aws-cloudfront): distribution bug with long comment (#14020) fix(aws-cloudfront): distribution comment length not validated (#14020) Apr 12, 2021
@mergify mergify bot dismissed njlynch’s stale review April 13, 2021 00:18

Pull request has been modified.

@minuz
Copy link
Contributor Author

minuz commented Apr 13, 2021

not sure if this is normal, but I had to use lint --fix, probably due to my local vscode settings and the PR end up getting a bit polluted with those fixes.

Yeah, looks like your local VSCode settings are quite different from ours! Unfortunately, this makes the diff almost impossible to read. Can you clean this up? One approach might be to use git reset + git add -p to reset (not remove) all of these changes, and then only add back in the relevant lines. As-is, there are too many unrelated changes here for me to be confident reviewing just the few lines of comments-related stuff.

No worries, I've cleaned up the PR and now it's only the actual changes.

Copy link
Contributor

@njlynch njlynch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! 👍

@mergify
Copy link
Contributor

mergify bot commented Apr 13, 2021

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

@mergify
Copy link
Contributor

mergify bot commented Apr 13, 2021

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

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: e1dbf0e
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

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

@mergify
Copy link
Contributor

mergify bot commented Apr 13, 2021

Thank you for contributing! Your pull request will be updated from master 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 54fddc6 into aws:master Apr 13, 2021
hollanddd pushed a commit to hollanddd/aws-cdk that referenced this pull request Aug 26, 2021
…4020) (aws#14094)

fixes aws#14020

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-cloudfront Related to Amazon CloudFront
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[@aws-cdk/aws-route53-patterns]: HttpsRedirect throws 'The parameter Comment is too big'
4 participants