Skip to content

fix(cli): notices refresh doesn't respect the --no-notices flag#19226

Merged
mergify[bot] merged 2 commits intomasterfrom
otaviom/skip-refresh
Mar 7, 2022
Merged

fix(cli): notices refresh doesn't respect the --no-notices flag#19226
mergify[bot] merged 2 commits intomasterfrom
otaviom/skip-refresh

Conversation

@otaviomacedo
Copy link
Copy Markdown
Contributor

The --no-notices flag is only being considered for actually displaying the notices, but not in the refresh step, used to mask latency.

Also handling request timeout on the Promise level. If the promise doesn't resolve within the time limit, resolve with an empty array, no matter what.

Fixes #19201.


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
Copy Markdown

gitpod-io bot commented Mar 3, 2022

@otaviomacedo otaviomacedo requested a review from a team March 3, 2022 11:49
@github-actions github-actions bot added the package/tools Related to AWS CDK Tools or CLI label Mar 3, 2022
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Mar 3, 2022
@otaviomacedo otaviomacedo requested a review from rix0rrr March 7, 2022 09:19
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Mar 7, 2022

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
Copy Markdown
Collaborator

AWS CodeBuild CI Report

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

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

@mergify mergify bot merged commit b3c5fe8 into master Mar 7, 2022
@mergify mergify bot deleted the otaviom/skip-refresh branch March 7, 2022 16:05
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Mar 7, 2022

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).

TheRealAmazonKendra pushed a commit to TheRealAmazonKendra/aws-cdk that referenced this pull request Mar 11, 2022
…19226)

The `--no-notices` flag is only being considered for actually displaying the notices, but not in the refresh step, used to mask latency.

Also handling request timeout on the `Promise` level. If the promise doesn't resolve within the time limit, resolve with an empty array, no matter what.

Fixes aws#19201.

----

*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

contribution/core This is a PR that came from AWS. package/tools Related to AWS CDK Tools or CLI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Code-Pipeline: update step delayed by missing files ('/root/.cdk/cache/notices.json', 'cdk.out/tree.json')

3 participants