Skip to content

npx amplify sandbox contrl+c not handled properly #932

Closed
@pavellazar

Description

@pavellazar

Environment information

System:
    OS: Linux 6.7 Arch Linux
    CPU: (24) x64 12th Gen Intel(R) Core(TM) i9-12900HX
    Memory: 114.74 GB / 125.50 GB
    Container: Yes
    Shell: 5.9 - /usr/bin/zsh
  Binaries:
    Node: 18.18.2 - ~/.nvm/versions/node/v18.18.2/bin/node
    Yarn: 1.22.21 - /usr/bin/yarn
    npm: 9.8.1 - ~/.nvm/versions/node/v18.18.2/bin/npm
    pnpm: 8.14.1 - ~/.local/share/pnpm/pnpm
    bun: Not Found
    Watchman: Not Found
  npmPackages:
    @aws-amplify/backend: ^0.10.1 => 0.10.1 
    @aws-amplify/backend-cli: ^0.9.6 => 0.9.6 
    aws-amplify: ^6.0.12 => 6.0.12 
    aws-cdk: ^2.121.1 => 2.121.1 
    aws-cdk-lib: ^2.121.1 => 2.121.1 
    typescript: ^5.2.0 => 5.3.3

Description

npx amplify sandbox process not exiting gracefully on control + c. It behaves randomly incorrect

  1. not listening to control + c event when npx amplify sandbox is in error state
    image

  2. control + c event skips all the way without letting me respond to cleanup prompt
    image

Most of the time this behavior happens when deploying sandbox env errors but occastionally noticed it on success as well.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingsandboxRelated to the sandbox experience

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions