Replace the hand-written opencode-go route records with an observed or docs-read source

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript
領域
api, backend

調査の方向性

Start in src/server/providers/probes/ and read the legacy opencode-go records alongside what #742 changed, then check how other providers' probes prove a route so you can tell an observed record from a typed one. OpenCode's go.mdx gives only the base path, so either add OPENCODE_GO_API_KEY as a Worker secret and write a route-proving probe, or find an OpenCode page listing :generateContent and :streamGenerateContent. Done means no typed records remain under src/server/providers/probes/ and /v1/status no longer reports them as stale.

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

説明

Problem

After #742 the only hand-written probe records left are the legacy opencode-go ones under src/server/providers/probes/. They bind the :generateContent and :streamGenerateContent routes on opencode-go/gemini-4-argon-contributor and set that row's trainsOnRequestData. Nothing re-dates them, so /v1/status counts them as stale probes from 2027-01-22. OpenCode's go.mdx states only the base path, and the Worker holds no OpenCode Go key.

Ask

Observe the routes from the Worker (needs OPENCODE_GO_API_KEY as a Worker secret and a probe that can prove a route), or find an OpenCode page that states them, then delete the records.

Acceptance

  • No file under src/server/providers/probes/ holds a typed record.
主要言語
TypeScript
スター
0
フォーク
1
平均マージ
5時間 40分
マージ済み PR(30日)
193

環境構築

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

はじめの一歩

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

TanStack/schemas のほかの issue

TanStack/schemas の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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