Skip to content

Define child-process signal and exit propagation #92

Closed

Description

@LunaStev

Motivation

Vex launches Git, wavec, installers, and user programs but has no explicit policy for Ctrl-C, termination signals, Windows console events, or child exit codes. Reliable cancellation is important for long builds and editor integration.

Acceptance criteria

  • Define process-group and console-control behavior on Unix and Windows.
  • Ensure cancellation reaches active children and does not leave orphaned compiler or Git processes.
  • Preserve managed checkout and lockfile transaction guarantees after interruption.
  • Report signal termination distinctly from normal nonzero exits.
  • Define how vex run maps the program exit code.
  • Add integration tests with controllable fake child processes.

Activity

  1. added
    build
    cross-platform
    discussion
    stability
    on Sep 18, 2026
  2. LunaStev commented on Oct 2, 2026

    @LunaStev
    MemberAuthor

    Verified completed against master 67797f6415f640e8c33f9a072879124b83934f84.

    The shared supervisor handles Unix process groups and Windows Job Objects, cancellation, signal termination, and program exit propagation. Controllable-child tests cover timeouts, cancellation, compiler lifetime protection, and program outcomes.

    Evidence: process/src/lib.rs, tests/project_state.rs.

    Master CI run 36963423149 passed all eight jobs, including native Windows, macOS, and Linux tests. Closing as completed.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildcross-platformdiscussionstability

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions