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

test: type-check Drive test sources

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

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

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

評価

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

調査の方向性

packages/drive/tsconfig.json と既存のスクリプトから始め、続いて test/driver/index.test.ts、test/tool/producer.test.ts、test/instance/proxy.test.ts、test/tool/controller.test.ts、test/fixtures/** で報告されているエラーを調べます。診断用のテスト設定とスクリプトを追加し、ファイル単位の型エラーを解決して、実行時アサーションを変更せずに production と test のチェックが通ることを確認します。

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

説明

enhancement

Problem

packages/drive/tsconfig.json checks src, examples, compile fixtures, and manual probes, but excludes ordinary test/**/*.test.ts and test/fixtures/**. Vitest strips types, so test API drift can stay invisible until a line happens to fail at runtime.

A diagnostic config including the full test tree currently reports roughly 50 errors. Examples include stale Effect APIs, unchecked indexed access, scope requirements, overly broad error unions, and fixture contract drift.

Proposed sequence

  1. Add tsconfig.test.json and a typecheck:test script, but keep it out of required CI initially.
  2. Fix errors in small file-scoped commits, starting with:
    • test/driver/index.test.ts
    • test/tool/producer.test.ts
    • test/instance/proxy.test.ts
    • test/tool/controller.test.ts
    • test/fixtures/**
  3. Add typecheck:test to check once the diagnostic config is clean.

Done when

  • Production and test TypeScript checks both pass.
  • Script fixtures are covered, since start --script compiles them as user programs.
  • Runtime test behavior and assertions remain unchanged.
主要言語
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 を短くまとめたダイジェスト。