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

chore(cli): revert concurrency PR #20230

Merged
merged 2 commits into from
May 5, 2022
Merged

Conversation

rix0rrr
Copy link
Contributor

@rix0rrr rix0rrr commented May 5, 2022

Reverts #19378

It breaks 4 integ tests:

● security related changes without a CLI are expected to fail
...
(node:7140) UnhandledPromiseRejectionWarning: Error: \"--require-approval\" is enabled and stack includes security-sensitive updates, but terminal (TTY) is not attached so we are unable to get a confirmation from the user

● update to stack in ROLLBACK_COMPLETE state will delete stack and create a new one

    expect(received).rejects.toThrow()

    Received promise resolved instead of rejected
    Resolved to value: ""

      at expect (../node_modules/expect/build/index.js:128:15)
      at expect (cli.integtest.ts:267:9)
      at block (../helpers/cdk.ts:131:13)
          at runMicrotasks (<anonymous>)
      at ResourcePool.using (../helpers/resource-pool.ts:44:14)
      at ../helpers/test-helpers.ts:36:14

● stack in UPDATE_ROLLBACK_COMPLETE state can be updated

    expect(received).rejects.toThrow()

    Received promise resolved instead of rejected
    Resolved to value: ""

      at expect (../node_modules/expect/build/index.js:128:15)
      at expect (cli.integtest.ts:320:9)
          at runMicrotasks (<anonymous>)
      at ../helpers/cdk.ts:131:7
      at ResourcePool.using (../helpers/resource-pool.ts:44:14)
      at ../helpers/test-helpers.ts:36:14

● failed deploy does not hang

...

(node:8336) UnhandledPromiseRejectionWarning: Error: The stack named cdktest-0m9jeq4rpbp-failed failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE: Property PolicyDocument cannot be empty.

Something around the handling of errors in the new async deployment.

@rix0rrr rix0rrr requested a review from a team May 5, 2022 14:20
@rix0rrr rix0rrr self-assigned this May 5, 2022
@gitpod-io
Copy link

gitpod-io bot commented May 5, 2022

@aws-cdk-automation aws-cdk-automation requested a review from a team May 5, 2022 14:21
@github-actions github-actions bot added the p2 label May 5, 2022
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label May 5, 2022
@rix0rrr rix0rrr mentioned this pull request May 5, 2022
4 tasks
@mergify
Copy link
Contributor

mergify bot commented May 5, 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
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: 6923ef1
  • 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 8795b85 into master May 5, 2022
@mergify mergify bot deleted the revert-19378-relm/concurrent-deploys branch May 5, 2022 15:49
@mergify
Copy link
Contributor

mergify bot commented May 5, 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).

@relm923 relm923 mentioned this pull request May 14, 2022
4 tasks
wphilipw pushed a commit to wphilipw/aws-cdk that referenced this pull request May 23, 2022
Reverts aws#19378

It breaks 4 integ tests:

```
● security related changes without a CLI are expected to fail
...
(node:7140) UnhandledPromiseRejectionWarning: Error: \"--require-approval\" is enabled and stack includes security-sensitive updates, but terminal (TTY) is not attached so we are unable to get a confirmation from the user

● update to stack in ROLLBACK_COMPLETE state will delete stack and create a new one

    expect(received).rejects.toThrow()

    Received promise resolved instead of rejected
    Resolved to value: ""

      at expect (../node_modules/expect/build/index.js:128:15)
      at expect (cli.integtest.ts:267:9)
      at block (../helpers/cdk.ts:131:13)
          at runMicrotasks (<anonymous>)
      at ResourcePool.using (../helpers/resource-pool.ts:44:14)
      at ../helpers/test-helpers.ts:36:14

● stack in UPDATE_ROLLBACK_COMPLETE state can be updated

    expect(received).rejects.toThrow()

    Received promise resolved instead of rejected
    Resolved to value: ""

      at expect (../node_modules/expect/build/index.js:128:15)
      at expect (cli.integtest.ts:320:9)
          at runMicrotasks (<anonymous>)
      at ../helpers/cdk.ts:131:7
      at ResourcePool.using (../helpers/resource-pool.ts:44:14)
      at ../helpers/test-helpers.ts:36:14

● failed deploy does not hang

...

(node:8336) UnhandledPromiseRejectionWarning: Error: The stack named cdktest-0m9jeq4rpbp-failed failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE: Property PolicyDocument cannot be empty.
```

Something around the handling of errors in the new async deployment.
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