Skip to content

Add explicit abrupt server termination for restart probes #82

Description

@kitlangton

Drive 2.0.1, OpenCode c76e602ba4. server.kill() sends SIGTERM before escalating to SIGKILL, so a restart probe can accidentally verify only graceful cancellation. A compaction crash regression reproduces only when shutdown finalizers do not run.

An explicit crash or kill-signal option would make this deterministic and retain Drive’s expected-disconnect handling. Current workaround in the isolated fixture is to read opencode.health.get(), SIGSTOP that private server PID, then call server.kill() and server.launch(). This forces escalation without treating the exit as an unexpected run failure.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions