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

IndexRepository: retire scope-blind read methods (find_by_owner, …)

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

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

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

評価

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

調査の方向性

Start with find_by_owner in infra/persistence/index/protocols.py and its implementation in IndexRepository, then follow the router pass-through to confirm nothing in src/ calls it. Decide whether to delete it or add app_id and project_id parameters, and check for sibling scope-blind reads. Done when no method addresses index rows without scope, the router no longer exposes the blind path, and the existing tests pass.

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

説明

enhancement

The primary-key fix removes get_by_id from IndexRepository because id is unique only within (app_id, project_id). find_by_owner(owner_id, *, limit) (infra/persistence/index/protocols.py) has the same blind spot — it reads across every app/project for an owner — and currently has no caller in src/ besides the router pass-through.

Remove it (and any sibling that addresses rows without scope) or give it scope parameters. Left out of the fix on purpose: zero callers, not on the bleeding path.

主要言語
Python
スター
13.3k
フォーク
926
平均マージ
17時間 40分
マージ済み PR(30日)
31

環境構築

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

はじめの一歩

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

EverMind-AI/EverOS のほかの issue

EverMind-AI/EverOS の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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