chainguard-dev / melange

build APKs from source code
Apache License 2.0
427 stars 110 forks source link

NotifyContext does not play well with --interactive #1004

Closed jonjohnsonjr closed 9 months ago

jonjohnsonjr commented 9 months ago

If you hit Ctrl+C while in the --interactive session, you will exit when the subcommand returns, which isn't really what you want.

We need to actually handle the Interrupt signal differently inside Debug vs the rest of melange, which is tricky.

For now I'm just filing this bug so I can point to it in a log line when you get into an --interactive session.

jonjohnsonjr commented 9 months ago

Fixed by https://github.com/chainguard-dev/melange/pull/1008