Lovable: activity and route are picked by two independent lookups

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

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

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

評価

難易度
3/5
見積もり時間
半日
初心者へのやさしさ
66/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript
領域
backend

調査の方向性

Start at src/server/providers/adapters/lovable.ts around lines 105-107, where activity and route are each resolved by a separate find over the listing's surfaces; read what a surface entry carries to see how one lookup can yield both. Then read the synced-routes strip in poll-models.ts, which only compares activity on the stored-routes path, to see where the two paths must agree. Done looks like a test with a mixed-surface listing row (e.g. ['live','chat-completions']) that no longer binds a route of the other activity.

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

説明

Problem

src/server/providers/adapters/lovable.ts (around lines 105-107) picks a row's activity and its route with two independent finds over the listing's surfaces, and the synced-routes strip in poll-models.ts compares activity only on the stored-routes path. A listing such as ['live','chat-completions'] would bind an audio row to chat/completions, and its schema link would 404. Zero cases today (found in the review of #737).

Ask

Derive activity and route from the same surface, or throw when they disagree.

Acceptance

  • A test with a mixed-surface listing row does not bind a route of another activity.
主要言語
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 を短くまとめたダイジェスト。