Skip to content

SIGTERM runs the SIGINT drain #304

Description

@blooop

Question

Only SIGINT is handled (rust/dl/src/lib.rs:110-122), so kill <dl> leaks the staged plaintext GH_TOKEN file and orphans the devpod up child — the exact pair interrupt.rs exists to prevent. Install a SIGTERM handler running the same drain.

Settle inside this ticket: whether SIGHUP joins (README:233 — closing the terminal today skips both --autorm and the cleanup), and the exit-code convention. Test at the binary boundary in the style of dl/tests/interrupt.rs.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions