Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Add explicit abrupt server termination for restart probes

オープン
#82 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
62/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript
領域
testing

調査の方向性

分離された fixture と server.kill()/server.launch() のライフサイクルから始め、issue で説明されている opencode.health.get() の workaround も含めます。予期された切断の処理を維持する、明示的な強制終了オプションを追加し、それを再起動プローブで使用して、SIGSTOP や正常なシャットダウンのエスカレーションに依存せずに compaction のクラッシュ回帰を検証します。

索引モデルが issue の本文から書いたものです。

説明

enhancement

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.

主要言語
TypeScript
スター
32
フォーク
4
平均マージ
10分
マージ済み PR(30日)
13

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

anomalyco/opencode-drive のほかの issue

anomalyco/opencode-drive の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。