test: type-check Drive test sources
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 55/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- build-system, testing, tooling
調査の方向性
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 の本文から書いたものです。
説明
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
- Add
tsconfig.test.jsonand atypecheck:testscript, but keep it out of required CI initially. - Fix errors in small file-scoped commits, starting with:
test/driver/index.test.tstest/tool/producer.test.tstest/instance/proxy.test.tstest/tool/controller.test.tstest/fixtures/**
- Add
typecheck:testtocheckonce the diagnostic config is clean.
Done when
- Production and test TypeScript checks both pass.
- Script fixtures are covered, since
start --scriptcompiles them as user programs. - Runtime test behavior and assertions remain unchanged.
- 主要言語
- TypeScript
- スター
- 32
- フォーク
- 4
- 平均マージ
- 10分
- マージ済み PR(30日)
- 13
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
anomalyco/opencode-drive のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
anomalyco/opencode-drive#102 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
anomalyco/opencode-drive#104 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 50/100
anomalyco/opencode-drive#103 ·
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
anomalyco/opencode-drive#86 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
anomalyco/opencode-drive#85 ·
メンテナーはふだん 1 日以内に返信
anomalyco/opencode-drive の issue をすべて見る
似ている issue
-
Mend: dependency security vulnerability untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
opensearch-project/security-dashboards-plugin#2545 ·
メンテナーはふだん 1 日以内に返信
-
Add: Dream TR SDオープンcheck:passed streams:add
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
doctor integrity sample scans soft-deleted pages on Postgres (batch path has no deleted_at filter)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
SocialGouv/egapro#4672 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
area:agents area:tui bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
anthropics/claude-code#98358 ·
メンテナーはふだん 1 日以内に返信