Skip to content

Incorrect forwarding of signals: npm still runs after cancelling sfw #25

@marcbachmann

Description

@marcbachmann

Cancelling the sfw execution using CTRL+c does not stop npm process

$ sfw npm ci
(node:79268) Warning: Code cache data rejected.
(Use `sfw --trace-warnings ...` to show where the warning was created)
Protected by Socket Firewall
⠦^C

$ # CTRL+c pressed here and shell is already ready for new input, but then new logs of npm still appear
npm warn deprecated level-concat-iterator@3.1.0: Superseded by abstract-level (https://github.com/Level/community#faq)
npm warn deprecated level-errors@3.0.1: Superseded by abstract-level (https://github.com/Level/community#faq)
npm warn deprecated encoding-down@7.1.0: Superseded by abstract-level (https://github.com/Level/community#faq)
npm warn deprecated memdown@6.1.1: Superseded by memory-level (https://github.com/Level/community#faq)
npm warn deprecated level-codec@10.0.0: Superseded by level-transcoder (https://github.com/Level/community#faq)
npm warn deprecated deferred-leveldown@7.0.0: Superseded by abstract-level (https://github.com/Level/community#faq)
npm warn deprecated levelup@5.1.1: Superseded by abstract-level (https://github.com/Level/community#faq)
npm warn deprecated abstract-leveldown@7.2.0: Superseded by abstract-level (https://github.com/Level/community#faq)
npm warn deprecated leveldown@6.1.1: Superseded by classic-level (https://github.com/Level/community#faq)
npm error process terminated
npm error signal SIGINT
npm error A complete log of this run can be found in: ~/.npm/_logs/2025-12-17T16_20_01_061Z-debug-0.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions