Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#480 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@chuiwenwei ci sta già lavorando.

Dal 18/10/2026.

  • #514 di @chuiwenwei — aperta

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
backend, databases

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Python
Stelle
13.3k
Fork
926
Merge medio
17h 8m
PR unite (30g)
32

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di EverMind-AI/EverOS

Tutte le issue di EverMind-AI/EverOS

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.